From 720979bf92a89c3eabc330ada0cac8141fd2e904 Mon Sep 17 00:00:00 2001 From: tonyxrmdavidson Date: Thu, 16 May 2024 14:42:09 +0100 Subject: [PATCH 1/2] This commit will change egistry.access.redhat.com/ubi8/ubi-minimal to use the latest tag instead of the 8.8 tag --- Dockerfile | 2 +- Dockerfile.odh | 2 +- csi/Dockerfile | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/Dockerfile b/Dockerfile index 8f94195a6..fa1561d69 100644 --- a/Dockerfile +++ b/Dockerfile @@ -38,7 +38,7 @@ RUN CGO_ENABLED=1 GOOS=linux GOARCH=amd64 make clean model-registry # Use distroless as minimal base image to package the model-registry binary # Refer to https://github.com/GoogleContainerTools/distroless for more details -FROM registry.access.redhat.com/ubi8/ubi-minimal:8.8 +FROM registry.access.redhat.com/ubi8/ubi-minimal:latest WORKDIR / # copy the registry binary COPY --from=builder /workspace/model-registry . diff --git a/Dockerfile.odh b/Dockerfile.odh index 86e2114bc..e07f40888 100644 --- a/Dockerfile.odh +++ b/Dockerfile.odh @@ -25,7 +25,7 @@ RUN CGO_ENABLED=1 GOOS=linux GOARCH=amd64 make clean/odh build/odh # Use distroless as minimal base image to package the model-registry binary # Refer to https://github.com/GoogleContainerTools/distroless for more details -FROM registry.access.redhat.com/ubi8/ubi-minimal:8.8 +FROM registry.access.redhat.com/ubi8/ubi-minimal:latest WORKDIR / # copy the registry binary COPY --from=builder /workspace/model-registry . diff --git a/csi/Dockerfile b/csi/Dockerfile index 706489b92..d9fb65b8f 100644 --- a/csi/Dockerfile +++ b/csi/Dockerfile @@ -23,7 +23,7 @@ RUN CGO_ENABLED=1 GOOS=linux GOARCH=amd64 make build # Use distroless as minimal base image to package the model-registry storage initializer binary # Refer to https://github.com/GoogleContainerTools/distroless for more details -FROM registry.access.redhat.com/ubi8/ubi-minimal:8.8 +FROM registry.access.redhat.com/ubi8/ubi-minimal:latest WORKDIR / # copy the storage initializer binary COPY --from=builder /workspace/bin/mr-storage-initializer . From 148b2cf9e8183a4e0ce4bd1287196f8e2e6ba6bb Mon Sep 17 00:00:00 2001 From: tonyxrmdavidson Date: Thu, 16 May 2024 15:06:19 +0100 Subject: [PATCH 2/2] Reverting changes to two Dockerfiles --- Dockerfile | 2 +- Dockerfile.odh | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Dockerfile b/Dockerfile index fa1561d69..8f94195a6 100644 --- a/Dockerfile +++ b/Dockerfile @@ -38,7 +38,7 @@ RUN CGO_ENABLED=1 GOOS=linux GOARCH=amd64 make clean model-registry # Use distroless as minimal base image to package the model-registry binary # Refer to https://github.com/GoogleContainerTools/distroless for more details -FROM registry.access.redhat.com/ubi8/ubi-minimal:latest +FROM registry.access.redhat.com/ubi8/ubi-minimal:8.8 WORKDIR / # copy the registry binary COPY --from=builder /workspace/model-registry . diff --git a/Dockerfile.odh b/Dockerfile.odh index e07f40888..86e2114bc 100644 --- a/Dockerfile.odh +++ b/Dockerfile.odh @@ -25,7 +25,7 @@ RUN CGO_ENABLED=1 GOOS=linux GOARCH=amd64 make clean/odh build/odh # Use distroless as minimal base image to package the model-registry binary # Refer to https://github.com/GoogleContainerTools/distroless for more details -FROM registry.access.redhat.com/ubi8/ubi-minimal:latest +FROM registry.access.redhat.com/ubi8/ubi-minimal:8.8 WORKDIR / # copy the registry binary COPY --from=builder /workspace/model-registry .