Skip to content

Commit ad5df45

Browse files
committed
Move init images to ubi9
1 parent f806910 commit ad5df45

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

docker/mongodb-kubernetes-init-appdb/Dockerfile

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
FROM --platform=${BUILDPLATFORM} registry.access.redhat.com/ubi8/ubi-minimal AS tools_downloader
1+
FROM --platform=${BUILDPLATFORM} registry.access.redhat.com/ubi9/ubi-minimal AS tools_downloader
22

33
ARG mongodb_tools_url
44
ARG mongodb_tools_version_s390x
@@ -7,7 +7,7 @@ ARG mongodb_tools_version_amd64
77
ARG mongodb_tools_version_arm64
88

99
RUN microdnf -y update --nodocs \
10-
&& microdnf -y install --nodocs tar gzip curl \
10+
&& microdnf -y install --nodocs tar gzip \
1111
&& microdnf clean all
1212

1313
RUN case ${TARGETPLATFORM} in \
@@ -53,7 +53,7 @@ COPY ./docker/mongodb-kubernetes-init-database/content/agent-launcher.sh /data/s
5353

5454
COPY ./docker/mongodb-kubernetes-init-database/content/LICENSE /data/licenses/
5555

56-
FROM registry.access.redhat.com/ubi8/ubi-minimal
56+
FROM registry.access.redhat.com/ubi9/ubi-minimal
5757

5858
# Copy the extracted tools from the downloader stage (tools are already extracted there)
5959
COPY --from=tools_downloader /tools/ /tools/

docker/mongodb-kubernetes-init-database/Dockerfile

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
FROM --platform=${BUILDPLATFORM} registry.access.redhat.com/ubi8/ubi-minimal AS tools_downloader
1+
FROM --platform=${BUILDPLATFORM} registry.access.redhat.com/ubi9/ubi-minimal AS tools_downloader
22

33
ARG mongodb_tools_url
44
ARG mongodb_tools_version_s390x
@@ -7,7 +7,7 @@ ARG mongodb_tools_version_amd64
77
ARG mongodb_tools_version_arm64
88

99
RUN microdnf -y update --nodocs \
10-
&& microdnf -y install --nodocs tar gzip curl \
10+
&& microdnf -y install --nodocs tar gzip \
1111
&& microdnf clean all
1212

1313
RUN case ${TARGETPLATFORM} in \
@@ -53,7 +53,7 @@ COPY ./docker/mongodb-kubernetes-init-database/content/agent-launcher.sh /data/s
5353

5454
COPY ./docker/mongodb-kubernetes-init-database/content/LICENSE /data/licenses/
5555

56-
FROM registry.access.redhat.com/ubi8/ubi-minimal
56+
FROM registry.access.redhat.com/ubi9/ubi-minimal
5757

5858
# Copy the extracted tools from the downloader stage (tools are already extracted there)
5959
COPY --from=tools_downloader /tools/ /tools/

0 commit comments

Comments
 (0)