Skip to content

chore: pull keys from pgp.mongodb.com #35

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 5 commits into from
Apr 30, 2025
Merged
Show file tree
Hide file tree
Changes from 2 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions docker/enterprise/4.2/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -71,6 +71,9 @@ RUN mkdir /docker-entrypoint-initdb.d

ENV GPG_KEYS E162F504A20CDF15827F718D4B7C549A058F8B6B
RUN set -ex; \
# pull from pgp.mongodb.com rather than a keyserver which is not supported.
# (although apt-key is deprecated on newer ubuntu/debian.)
wget -qO - https://pgp.mongodb.com/server-4.2.asc | apt-key add - \
export GNUPGHOME="$(mktemp -d)"; \
echo "disable-ipv6" >> "${GNUPGHOME}/dirmngr.conf"; \
for key in $GPG_KEYS; do \
Expand Down
3 changes: 3 additions & 0 deletions docker/enterprise/4.4/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -71,6 +71,9 @@ RUN mkdir /docker-entrypoint-initdb.d

ENV GPG_KEYS 20691EEC35216C63CAF66CE1656408E390CFB1F5
RUN set -ex; \
# pull from pgp.mongodb.com rather than a keyserver which is not supported.
# (although apt-key is deprecated on newer ubuntu/debian.)
wget -qO - https://pgp.mongodb.com/server-4.4.asc | apt-key add - \
export GNUPGHOME="$(mktemp -d)"; \
echo "disable-ipv6" >> "${GNUPGHOME}/dirmngr.conf"; \
for key in $GPG_KEYS; do \
Expand Down
3 changes: 3 additions & 0 deletions docker/enterprise/5.0/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -74,6 +74,9 @@ RUN set -ex; \
RUN mkdir /docker-entrypoint-initdb.d

RUN set -ex; \
# pull from pgp.mongodb.com rather than a keyserver which is not supported.
# (although apt-key is deprecated on newer ubuntu/debian.)
wget -qO - https://pgp.mongodb.com/server-5.0.asc | apt-key add - \
export GNUPGHOME="$(mktemp -d)"; \
set -- 'F5679A222C647C87527C2F8CB00A0BD1E2C63C11'; \
for key; do \
Expand Down
Loading