Skip to content

Commit 633351a

Browse files
author
Vincent Royer
committed
Update GPG command
1 parent ce78155 commit 633351a

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

Dockerfile

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -54,9 +54,9 @@ RUN set -x \
5454
&& wget -O /usr/local/bin/gosu "https://github.com/tianon/gosu/releases/download/$GOSU_VERSION/gosu-$(dpkg --print-architecture)" \
5555
&& wget -O /usr/local/bin/gosu.asc "https://github.com/tianon/gosu/releases/download/$GOSU_VERSION/gosu-$(dpkg --print-architecture).asc" \
5656
&& export GNUPGHOME="$(mktemp -d)" \
57-
&& gpg --no-tty --keyserver ha.pool.sks-keyservers.net --recv-keys B42F6819007F00F88E364FD4036A9C25BF357DD4 \
58-
&& gpg --no-tty --batch --verify /usr/local/bin/gosu.asc /usr/local/bin/gosu \
59-
&& { command -v gpgconf && gpgconf --kill all || :; } \
57+
&& gpg --batch --keyserver hkps://keys.openpgp.org --recv-keys B42F6819007F00F88E364FD4036A9C25BF357DD4 \
58+
&& gpg --batch --verify /usr/local/bin/gosu.asc /usr/local/bin/gosu \
59+
&& gpgconf --kill all \
6060
&& rm -rf "$GNUPGHOME" /usr/local/bin/gosu.asc \
6161
&& chmod +x /usr/local/bin/gosu \
6262
&& gosu nobody true \

0 commit comments

Comments
 (0)