From b6e59c6bd4c83a00f54df0690188707f8a96afb6 Mon Sep 17 00:00:00 2001 From: Alexander Ilyin Date: Wed, 1 Aug 2018 20:49:08 -0700 Subject: [PATCH] Make builds more stable ``` + gpg --keyserver ha.pool.sks-keyservers.net --recv-keys A917B1ECDA84AEC2B568FED6F50ABC807BD5DCD0 gpg: keybox '/tmp/tmp.COnjbo/pubring.kbx' created gpg: keyserver receive failed: Address not available ``` --- 7.1/alpine3.7/fpm/Dockerfile | 2 ++ 1 file changed, 2 insertions(+) diff --git a/7.1/alpine3.7/fpm/Dockerfile b/7.1/alpine3.7/fpm/Dockerfile index 46d4db6b5..b3ed9273a 100644 --- a/7.1/alpine3.7/fpm/Dockerfile +++ b/7.1/alpine3.7/fpm/Dockerfile @@ -83,6 +83,8 @@ RUN set -xe; \ wget -O php.tar.xz.asc "$PHP_ASC_URL"; \ export GNUPGHOME="$(mktemp -d)"; \ for key in $GPG_KEYS; do \ + gpg --keyserver pgp.mit.edu --recv-keys "$key" || \ + gpg --keyserver keyserver.pgp.com --recv-keys "$key" || \ gpg --keyserver ha.pool.sks-keyservers.net --recv-keys "$key"; \ done; \ gpg --batch --verify php.tar.xz.asc php.tar.xz; \