File tree Expand file tree Collapse file tree 3 files changed +15
-0
lines changed Expand file tree Collapse file tree 3 files changed +15
-0
lines changed Original file line number Diff line number Diff line change @@ -71,6 +71,11 @@ RUN mkdir /docker-entrypoint-initdb.d
7171
7272ENV GPG_KEYS E162F504A20CDF15827F718D4B7C549A058F8B6B
7373RUN set -ex; \
74+ apt-get update; \
75+ apt-get install -y --no-install-recommends wget; \
76+ # pull from pgp.mongodb.com rather than a keyserver which is not supported.
77+ # (although apt-key is deprecated on newer ubuntu/debian.)
78+ wget -qO - https://pgp.mongodb.com/server-4.2.asc | apt-key add -; \
7479 export GNUPGHOME="$(mktemp -d)" ; \
7580 echo "disable-ipv6" >> "${GNUPGHOME}/dirmngr.conf" ; \
7681 for key in $GPG_KEYS; do \
Original file line number Diff line number Diff line change @@ -71,6 +71,11 @@ RUN mkdir /docker-entrypoint-initdb.d
7171
7272ENV GPG_KEYS 20691EEC35216C63CAF66CE1656408E390CFB1F5
7373RUN set -ex; \
74+ apt-get update; \
75+ apt-get install -y --no-install-recommends wget; \
76+ # pull from pgp.mongodb.com rather than a keyserver which is not supported.
77+ # (although apt-key is deprecated on newer ubuntu/debian.)
78+ wget -qO - https://pgp.mongodb.com/server-4.4.asc | apt-key add -; \
7479 export GNUPGHOME="$(mktemp -d)" ; \
7580 echo "disable-ipv6" >> "${GNUPGHOME}/dirmngr.conf" ; \
7681 for key in $GPG_KEYS; do \
Original file line number Diff line number Diff line change @@ -74,6 +74,11 @@ RUN set -ex; \
7474RUN mkdir /docker-entrypoint-initdb.d
7575
7676RUN set -ex; \
77+ apt-get update; \
78+ apt-get install -y --no-install-recommends wget; \
79+ # pull from pgp.mongodb.com rather than a keyserver which is not supported.
80+ # (although apt-key is deprecated on newer ubuntu/debian.)
81+ wget -qO - https://pgp.mongodb.com/server-5.0.asc | apt-key add -; \
7782 export GNUPGHOME="$(mktemp -d)" ; \
7883 set -- 'F5679A222C647C87527C2F8CB00A0BD1E2C63C11' ; \
7984 for key; do \
You can’t perform that action at this time.
0 commit comments