File tree Expand file tree Collapse file tree 6 files changed +11
-9
lines changed
config_generator/components Expand file tree Collapse file tree 6 files changed +11
-9
lines changed Original file line number Diff line number Diff line change @@ -30,6 +30,7 @@ class DockerImageBuild(Function):
3030 script = '''\
3131 set -o errexit
3232 set -o pipefail
33+ docker login -u "${ARTIFACTORY_USER}" --password-stdin artifactory.corp.mongodb.com <<<"${ARTIFACTORY_PASSWORD}"
3334 set -x
3435 echo "Building Alpine Docker image"
3536 make -C extras/docker/alpine3.19 nocachebuild test
Original file line number Diff line number Diff line change @@ -268,6 +268,7 @@ functions:
268268 - |
269269 set -o errexit
270270 set -o pipefail
271+ docker login -u "${ARTIFACTORY_USER}" --password-stdin artifactory.corp.mongodb.com <<<"${ARTIFACTORY_PASSWORD}"
271272 set -x
272273 echo "Building Alpine Docker image"
273274 make -C extras/docker/alpine3.19 nocachebuild test
Original file line number Diff line number Diff line change 11# DO NOT EDIT THIS FILE DIRECTLY
22# This file was auto generated from the template file Dockerfile.j2 using the generate.py script
33
4- FROM public.ecr.aws/docker /library/alpine:3.19 AS builder
4+ FROM artifactory.corp.mongodb.com/dockerhub /library/alpine:3.19 AS builder
55
66ARG MONGOCXX_VERSION=3.10.1
77ARG MONGOC_VERSION=1.27.1
@@ -60,7 +60,7 @@ RUN wget https://github.com/mongodb/mongo-cxx-driver/archive/refs/tags/r${MONGOC
6060 cmake --build mongocxx-build --config RelWithDebInfo && \
6161 cmake --install mongocxx-build --config RelWithDebInfo --prefix /opt/mongocxx
6262
63- FROM public.ecr.aws/docker /library/alpine:3.19
63+ FROM artifactory.corp.mongodb.com/dockerhub /library/alpine:3.19
6464
6565RUN apk update && apk upgrade && apk add --no-cache openssl3 libstdc++ libc6-compat
6666
Original file line number Diff line number Diff line change 11# DO NOT EDIT THIS FILE DIRECTLY
22# This file was auto generated from the template file Dockerfile.j2 using the generate.py script
33
4- FROM public.ecr.aws/docker /library/debian:12-slim AS builder
4+ FROM artifactory.corp.mongodb.com/dockerhub /library/debian:12-slim AS builder
55
66ARG MONGOCXX_VERSION=3.10.1
77ARG MONGOC_VERSION=1.27.1
@@ -60,7 +60,7 @@ RUN wget https://github.com/mongodb/mongo-cxx-driver/archive/refs/tags/r${MONGOC
6060 cmake --build mongocxx-build --config RelWithDebInfo && \
6161 cmake --install mongocxx-build --config RelWithDebInfo --prefix /opt/mongocxx
6262
63- FROM public.ecr.aws/docker /library/debian:12-slim
63+ FROM artifactory.corp.mongodb.com/dockerhub /library/debian:12-slim
6464
6565RUN apt update && apt upgrade -y && apt install -y libssl3 && rm -rf /var/lib/apt/lists/*
6666
Original file line number Diff line number Diff line change @@ -30,9 +30,9 @@ def render_template(template_filename, context):
3030 "redhat-ubi-9.4" ,
3131 ]
3232 base_image = {
33- "alpine3.19" : "public.ecr.aws/docker /library/alpine:3.19" ,
34- "bookworm" : "public.ecr.aws/docker /library/debian:12-slim" ,
35- "noble" : "public.ecr.aws/docker /library/ubuntu:24.04" ,
33+ "alpine3.19" : "artifactory.corp.mongodb.com/dockerhub /library/alpine:3.19" ,
34+ "bookworm" : "artifactory.corp.mongodb.com/dockerhub /library/debian:12-slim" ,
35+ "noble" : "artifactory.corp.mongodb.com/dockerhub /library/ubuntu:24.04" ,
3636 "redhat-ubi-9.4" : "registry.access.redhat.com/ubi9/ubi-minimal:9.4" ,
3737 }
3838 test_dependency_install_command = {
Original file line number Diff line number Diff line change 11# DO NOT EDIT THIS FILE DIRECTLY
22# This file was auto generated from the template file Dockerfile.j2 using the generate.py script
33
4- FROM public.ecr.aws/docker /library/ubuntu:24.04 AS builder
4+ FROM artifactory.corp.mongodb.com/dockerhub /library/ubuntu:24.04 AS builder
55
66ARG MONGOCXX_VERSION=3.10.1
77ARG MONGOC_VERSION=1.27.1
@@ -60,7 +60,7 @@ RUN wget https://github.com/mongodb/mongo-cxx-driver/archive/refs/tags/r${MONGOC
6060 cmake --build mongocxx-build --config RelWithDebInfo && \
6161 cmake --install mongocxx-build --config RelWithDebInfo --prefix /opt/mongocxx
6262
63- FROM public.ecr.aws/docker /library/ubuntu:24.04
63+ FROM artifactory.corp.mongodb.com/dockerhub /library/ubuntu:24.04
6464
6565RUN apt update && apt upgrade -y && apt install -y libssl3 && rm -rf /var/lib/apt/lists/*
6666
You can’t perform that action at this time.
0 commit comments