Open modassarrana89 opened 2 months ago
It used to work , if we use base image quay.io/minio/minio:RELEASE.2023-10-16T04-13-43Z as minio-examples so should i raise PR & update the base image with the above one @ckadner Can you please provide your input on it
[root@m1305001 modelmesh-minio-examples]# podman build --target minio-examples -t quay.io/morana/modelmesh-minio-examples:latest .
STEP 1/16: FROM quay.io/minio/minio:RELEASE.2023-10-16T04-13-43Z AS minio-examples
Trying to pull quay.io/minio/minio:RELEASE.2023-10-16T04-13-43Z...
Getting image source signatures
Copying blob 7df2833ba7d3 done
Copying blob daedef7c437f done
Copying blob 01d346efe1f9 done
Copying blob 36dcebdfcd98 done
Copying blob cc4ee1da6c1a done
Copying blob b268ae1c5b29 done
Copying config f298d8de5f done
Writing manifest to image destination
STEP 2/16: EXPOSE 9000
--> 0167fcff1877
STEP 3/16: ARG MODEL_DIR=/data1/modelmesh-example-models
--> 6b5ccbb18e7e
STEP 4/16: USER root
--> 9b03decedfa9
STEP 5/16: RUN useradd -u 1000 -g 0 modelmesh
--> f0afe2cb3ad2
STEP 6/16: RUN mkdir -p ${MODEL_DIR}
--> 36e1fa83a075
STEP 7/16: RUN chown -R 1000:0 /data1 && chgrp -R 0 /data1 && chmod -R g=u /data1
--> 1e885fbcafcb
STEP 8/16: COPY --chown=1000:0 keras ${MODEL_DIR}/keras/
--> 37a5e0ce4a8f
STEP 9/16: COPY --chown=1000:0 lightgbm ${MODEL_DIR}/lightgbm/
--> 0c98e4591263
STEP 10/16: COPY --chown=1000:0 onnx ${MODEL_DIR}/onnx/
--> 3c6f0a3d3017
STEP 11/16: COPY --chown=1000:0 pytorch ${MODEL_DIR}/pytorch/
--> 1ee816e7d0db
STEP 12/16: COPY --chown=1000:0 sklearn ${MODEL_DIR}/sklearn/
--> 83c622bb52d6
STEP 13/16: COPY --chown=1000:0 tensorflow ${MODEL_DIR}/tensorflow/
--> c2cfbc3a1d5b
STEP 14/16: COPY --chown=1000:0 xgboost ${MODEL_DIR}/xgboost/
--> b83264ae27c1
STEP 15/16: COPY --chown=1000:0 tensorflow/mnist ${MODEL_DIR}/tensorflow/mnist.savedmodel/
--> cfc97f8a3811
STEP 16/16: USER 1000
COMMIT quay.io/morana/modelmesh-minio-examples:latest
Dockerfile is not multi-arch .
Reason - Base image [docker.io/minio/minio:RELEASE.2021-06-17T00-10-46Z.hotfix.35a0912ff] is only amd64 compliant & need to be multi-arch.
As a result minio pod is carshing while using it in modelmesh.