File tree Expand file tree Collapse file tree 5 files changed +17
-2
lines changed Expand file tree Collapse file tree 5 files changed +17
-2
lines changed Original file line number Diff line number Diff line change @@ -4,6 +4,9 @@ ENV TZ=Etc/UTC
44ENV DEBIAN_FRONTEND=noninteractive
55
66RUN set -eux; \
7+ sed -i -e 's/archive.ubuntu.com/mirror.one.com/g' /etc/apt/sources.list; \
8+ sed -i -e 's/security.ubuntu.com/mirror.one.com/g' /etc/apt/sources.list; \
9+ sed -i -e 's/http/https/g' /etc/apt/sources.list ; \
710 apt-get update && apt-get install -y apt-transport-https apt-utils gnupg2 ; \
811 apt-key adv --keyserver hkps://keyserver.ubuntu.com:443 --recv 656408E390CFB1F5 ; \
912 echo "deb [ arch=amd64 ] https://repo.mongodb.org/apt/ubuntu bionic/mongodb-org/4.4 multiverse" | tee /etc/apt/sources.list.d/mongodb-org-4.4.list; \
Original file line number Diff line number Diff line change 1- FROM adoptopenjdk/openjdk16:latest
1+ FROM adoptopenjdk/openjdk16:latest
22
33ENV TZ=Etc/UTC
44ENV DEBIAN_FRONTEND=noninteractive
55
66RUN set -eux; \
7+ sed -i -e 's/archive.ubuntu.com/mirror.one.com/g' /etc/apt/sources.list; \
8+ sed -i -e 's/security.ubuntu.com/mirror.one.com/g' /etc/apt/sources.list; \
9+ sed -i -e 's/http/https/g' /etc/apt/sources.list ; \
710 apt-get update && apt-get install -y apt-transport-https apt-utils gnupg2 ; \
811 apt-key adv --keyserver hkps://keyserver.ubuntu.com:443 --recv 656408E390CFB1F5 ; \
912 echo "deb [ arch=amd64 ] https://repo.mongodb.org/apt/ubuntu bionic/mongodb-org/4.4 multiverse" | tee /etc/apt/sources.list.d/mongodb-org-4.4.list; \
Original file line number Diff line number Diff line change @@ -4,6 +4,9 @@ ENV TZ=Etc/UTC
44ENV DEBIAN_FRONTEND=noninteractive
55
66RUN RUN set -eux; \
7+ sed -i -e 's/archive.ubuntu.com/mirror.one.com/g' /etc/apt/sources.list; \
8+ sed -i -e 's/security.ubuntu.com/mirror.one.com/g' /etc/apt/sources.list; \
9+ sed -i -e 's/http/https/g' /etc/apt/sources.list ; \
710 apt-get update && apt-get install -y apt-transport-https apt-utils gnupg2 ; \
811 apt-key adv --keyserver hkps://keyserver.ubuntu.com:443 --recv 9DA31620334BD75D9DCB49F368818C72E52529D4 ; \
912 echo "deb [ arch=amd64 ] https://repo.mongodb.org/apt/ubuntu bionic/mongodb-org/4.0 multiverse" | tee /etc/apt/sources.list.d/mongodb-org-4.0.list; \
Original file line number Diff line number Diff line change @@ -4,6 +4,9 @@ ENV TZ=Etc/UTC
44ENV DEBIAN_FRONTEND=noninteractive
55
66RUN set -eux; \
7+ sed -i -e 's/archive.ubuntu.com/mirror.one.com/g' /etc/apt/sources.list; \
8+ sed -i -e 's/security.ubuntu.com/mirror.one.com/g' /etc/apt/sources.list; \
9+ sed -i -e 's/http/https/g' /etc/apt/sources.list ; \
710 apt-get update && apt-get install -y apt-transport-https apt-utils gnupg2 ; \
811 apt-key adv --keyserver hkps://keyserver.ubuntu.com:443 --recv 656408E390CFB1F5 ; \
912 echo "deb [ arch=amd64 ] https://repo.mongodb.org/apt/ubuntu bionic/mongodb-org/4.4 multiverse" | tee /etc/apt/sources.list.d/mongodb-org-4.4.list; \
Original file line number Diff line number Diff line change @@ -4,6 +4,9 @@ ENV TZ=Etc/UTC
44ENV DEBIAN_FRONTEND=noninteractive
55
66RUN set -eux; \
7+ sed -i -e 's/archive.ubuntu.com/mirror.one.com/g' /etc/apt/sources.list; \
8+ sed -i -e 's/security.ubuntu.com/mirror.one.com/g' /etc/apt/sources.list; \
9+ sed -i -e 's/http/https/g' /etc/apt/sources.list ; \
710 apt-get update && apt-get install -y apt-transport-https apt-utils gnupg2 wget ; \
811 # MongoDB 5.0 release signing key
912 apt-key adv --keyserver hkps://keyserver.ubuntu.com:443 --recv B00A0BD1E2C63C11 ; \
@@ -12,6 +15,6 @@ RUN set -eux; \
1215 echo ${TZ} > /etc/timezone;
1316
1417RUN apt-get update; \
15- apt-get install -y mongodb-org=5.0.0 mongodb-org-server=5.0.0 mongodb-org-shell=5.0.0 mongodb-org-mongos=5.0.0 mongodb-org-tools=5.0.0 ; \
18+ apt-get install -y mongodb-org=5.0.3 mongodb-org-server=5.0.3 mongodb-org-shell=5.0.3 mongodb-org-mongos=5.0.3 mongodb-org-tools=5.0.3 ; \
1619 apt-get clean; \
1720 rm -rf /var/lib/apt/lists/*;
You can’t perform that action at this time.
0 commit comments