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
71
71
72
72
ENV GPG_KEYS E162F504A20CDF15827F718D4B7C549A058F8B6B
73
73
RUN 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 -; \
74
79
export GNUPGHOME="$(mktemp -d)" ; \
75
80
echo "disable-ipv6" >> "${GNUPGHOME}/dirmngr.conf" ; \
76
81
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
71
71
72
72
ENV GPG_KEYS 20691EEC35216C63CAF66CE1656408E390CFB1F5
73
73
RUN 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 -; \
74
79
export GNUPGHOME="$(mktemp -d)" ; \
75
80
echo "disable-ipv6" >> "${GNUPGHOME}/dirmngr.conf" ; \
76
81
for key in $GPG_KEYS; do \
Original file line number Diff line number Diff line change @@ -74,6 +74,11 @@ RUN set -ex; \
74
74
RUN mkdir /docker-entrypoint-initdb.d
75
75
76
76
RUN 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 -; \
77
82
export GNUPGHOME="$(mktemp -d)" ; \
78
83
set -- 'F5679A222C647C87527C2F8CB00A0BD1E2C63C11' ; \
79
84
for key; do \
You can’t perform that action at this time.
0 commit comments