Skip to content

Commit 2fe5947

Browse files
committed
Use more pgp keyservers to download the key
Apparently this is only way to make this reliable. See #149 Signed-off-by: Michal Čihař <[email protected]>
1 parent 92a5a76 commit 2fe5947

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

Dockerfile

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,9 +47,14 @@ RUN set -ex; \
4747
; \
4848
\
4949
export GNUPGHOME="$(mktemp -d)"; \
50+
export GPGKEY="3D06A59ECE730EB71B511C17CE752F178259BD92"; \
5051
curl --output phpMyAdmin.tar.gz --location $URL; \
5152
curl --output phpMyAdmin.tar.gz.asc --location $URL.asc; \
52-
gpg --keyserver keys.gnupg.net --recv-keys 3D06A59ECE730EB71B511C17CE752F178259BD92; \
53+
gpg --keyserver ha.pool.sks-keyservers.net --recv-keys "$GPGKEY" \
54+
|| gpg --keyserver ipv4.pool.sks-keyservers.net --recv-keys "$GPGKEY" \
55+
|| gpg --keyserver keys.gnupg.net --recv-keys "$GPGKEY" \
56+
|| gpg --keyserver pgp.mit.edu --recv-keys "$GPGKEY" \
57+
|| gpg --keyserver keyserver.pgp.com --recv-keys "$GPGKEY";
5358
gpg --batch --verify phpMyAdmin.tar.gz.asc phpMyAdmin.tar.gz; \
5459
rm -rf "$GNUPGHOME"; \
5560
tar xzf phpMyAdmin.tar.gz; \

0 commit comments

Comments
 (0)