File tree 6 files changed +11
-9
lines changed
config_generator/components
6 files changed +11
-9
lines changed Original file line number Diff line number Diff line change @@ -30,6 +30,7 @@ class DockerImageBuild(Function):
30
30
script = '''\
31
31
set -o errexit
32
32
set -o pipefail
33
+ docker login -u "${ARTIFACTORY_USER}" --password-stdin artifactory.corp.mongodb.com <<<"${ARTIFACTORY_PASSWORD}"
33
34
set -x
34
35
echo "Building Alpine Docker image"
35
36
make -C extras/docker/alpine3.19 nocachebuild test
Original file line number Diff line number Diff line change @@ -268,6 +268,7 @@ functions:
268
268
- |
269
269
set -o errexit
270
270
set -o pipefail
271
+ docker login -u "${ARTIFACTORY_USER}" --password-stdin artifactory.corp.mongodb.com <<<"${ARTIFACTORY_PASSWORD}"
271
272
set -x
272
273
echo "Building Alpine Docker image"
273
274
make -C extras/docker/alpine3.19 nocachebuild test
Original file line number Diff line number Diff line change 1
1
# DO NOT EDIT THIS FILE DIRECTLY
2
2
# This file was auto generated from the template file Dockerfile.j2 using the generate.py script
3
3
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
5
5
6
6
ARG MONGOCXX_VERSION=3.10.1
7
7
ARG MONGOC_VERSION=1.27.1
@@ -60,7 +60,7 @@ RUN wget https://github.com/mongodb/mongo-cxx-driver/archive/refs/tags/r${MONGOC
60
60
cmake --build mongocxx-build --config RelWithDebInfo && \
61
61
cmake --install mongocxx-build --config RelWithDebInfo --prefix /opt/mongocxx
62
62
63
- FROM public.ecr.aws/docker /library/alpine:3.19
63
+ FROM artifactory.corp.mongodb.com/dockerhub /library/alpine:3.19
64
64
65
65
RUN apk update && apk upgrade && apk add --no-cache openssl3 libstdc++ libc6-compat
66
66
Original file line number Diff line number Diff line change 1
1
# DO NOT EDIT THIS FILE DIRECTLY
2
2
# This file was auto generated from the template file Dockerfile.j2 using the generate.py script
3
3
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
5
5
6
6
ARG MONGOCXX_VERSION=3.10.1
7
7
ARG MONGOC_VERSION=1.27.1
@@ -60,7 +60,7 @@ RUN wget https://github.com/mongodb/mongo-cxx-driver/archive/refs/tags/r${MONGOC
60
60
cmake --build mongocxx-build --config RelWithDebInfo && \
61
61
cmake --install mongocxx-build --config RelWithDebInfo --prefix /opt/mongocxx
62
62
63
- FROM public.ecr.aws/docker /library/debian:12-slim
63
+ FROM artifactory.corp.mongodb.com/dockerhub /library/debian:12-slim
64
64
65
65
RUN apt update && apt upgrade -y && apt install -y libssl3 && rm -rf /var/lib/apt/lists/*
66
66
Original file line number Diff line number Diff line change @@ -30,9 +30,9 @@ def render_template(template_filename, context):
30
30
"redhat-ubi-9.4" ,
31
31
]
32
32
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" ,
36
36
"redhat-ubi-9.4" : "registry.access.redhat.com/ubi9/ubi-minimal:9.4" ,
37
37
}
38
38
test_dependency_install_command = {
Original file line number Diff line number Diff line change 1
1
# DO NOT EDIT THIS FILE DIRECTLY
2
2
# This file was auto generated from the template file Dockerfile.j2 using the generate.py script
3
3
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
5
5
6
6
ARG MONGOCXX_VERSION=3.10.1
7
7
ARG MONGOC_VERSION=1.27.1
@@ -60,7 +60,7 @@ RUN wget https://github.com/mongodb/mongo-cxx-driver/archive/refs/tags/r${MONGOC
60
60
cmake --build mongocxx-build --config RelWithDebInfo && \
61
61
cmake --install mongocxx-build --config RelWithDebInfo --prefix /opt/mongocxx
62
62
63
- FROM public.ecr.aws/docker /library/ubuntu:24.04
63
+ FROM artifactory.corp.mongodb.com/dockerhub /library/ubuntu:24.04
64
64
65
65
RUN apt update && apt upgrade -y && apt install -y libssl3 && rm -rf /var/lib/apt/lists/*
66
66
You can’t perform that action at this time.
0 commit comments