Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions docker/mongodb-kubernetes-init-appdb/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM --platform=${BUILDPLATFORM} registry.access.redhat.com/ubi8/ubi-minimal AS tools_downloader
FROM --platform=${BUILDPLATFORM} registry.access.redhat.com/ubi9/ubi-minimal AS tools_downloader

ARG mongodb_tools_url
ARG mongodb_tools_version_s390x
Expand All @@ -7,7 +7,7 @@ ARG mongodb_tools_version_amd64
ARG mongodb_tools_version_arm64

RUN microdnf -y update --nodocs \
&& microdnf -y install --nodocs tar gzip curl \
&& microdnf -y install --nodocs tar gzip \
&& microdnf clean all

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

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

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

# Copy the extracted tools from the downloader stage (tools are already extracted there)
COPY --from=tools_downloader /tools/ /tools/
Expand Down
6 changes: 3 additions & 3 deletions docker/mongodb-kubernetes-init-database/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM --platform=${BUILDPLATFORM} registry.access.redhat.com/ubi8/ubi-minimal AS tools_downloader
FROM --platform=${BUILDPLATFORM} registry.access.redhat.com/ubi9/ubi-minimal AS tools_downloader

ARG mongodb_tools_url
ARG mongodb_tools_version_s390x
Expand All @@ -7,7 +7,7 @@ ARG mongodb_tools_version_amd64
ARG mongodb_tools_version_arm64

RUN microdnf -y update --nodocs \
&& microdnf -y install --nodocs tar gzip curl \
&& microdnf -y install --nodocs tar gzip \
&& microdnf clean all

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

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

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

# Copy the extracted tools from the downloader stage (tools are already extracted there)
COPY --from=tools_downloader /tools/ /tools/
Expand Down
Loading