1
0
mirror of https://github.com/b4tman/docker-squid.git synced 2024-11-22 11:16:55 +00:00

fix build error "Address not available"

This commit is contained in:
Dmitry Belyaev 2018-02-28 12:22:03 +03:00
parent 6f69039cbb
commit a3b384fd87
Signed by: b4tman
GPG Key ID: 014E87EC54B77673

View File

@ -30,7 +30,11 @@ RUN set -x && \
RUN set -x && \ RUN set -x && \
cd /tmp/build && \ cd /tmp/build && \
export GNUPGHOME="$(mktemp -d)" && \ export GNUPGHOME="$(mktemp -d)" && \
gpg --keyserver ha.pool.sks-keyservers.net --recv-keys ${SQUID_SIG_KEY} && \ ( \
gpg --keyserver hkp://p80.pool.sks-keyservers.net:80 --recv-keys ${SQUID_SIG_KEY} || \
gpg --keyserver hkp://ipv4.pool.sks-keyservers.net --recv-keys ${SQUID_SIG_KEY} || \
gpg --keyserver hkp://pgp.mit.edu:80 --recv-keys ${SQUID_SIG_KEY} \
) && \
gpg --batch --verify squid-${SQUID_VER}.tar.gz.asc squid-${SQUID_VER}.tar.gz && \ gpg --batch --verify squid-${SQUID_VER}.tar.gz.asc squid-${SQUID_VER}.tar.gz && \
rm -rf "$GNUPGHOME" rm -rf "$GNUPGHOME"