diff options
author | Brett Randall <javabrett@gmail.com> | 2017-12-12 21:07:44 -0500 |
---|---|---|
committer | Manuel Rüger <manuel@rueg.eu> | 2017-12-15 17:51:04 +0100 |
commit | 76a240cd57d4891759c4e4af37058e4cf7e7095c (patch) | |
tree | 7f74b66f3df6a980b185221cdd2d1214053db315 | |
parent | Changed from DNS-round-robin-ed distfiles mirror to use OSU OSL mirror direct... (diff) | |
download | docker-images-76a240cd57d4891759c4e4af37058e4cf7e7095c.tar.gz docker-images-76a240cd57d4891759c4e4af37058e4cf7e7095c.tar.bz2 docker-images-76a240cd57d4891759c4e4af37058e4cf7e7095c.zip |
gpg: use (single) keyserver ha.pool.sks-keyservers.net. Troubleshooting #53.
-rw-r--r-- | portage.Dockerfile | 4 | ||||
-rw-r--r-- | stage3.Dockerfile | 4 |
2 files changed, 2 insertions, 6 deletions
diff --git a/portage.Dockerfile b/portage.Dockerfile index 7861412..33f6bc0 100644 --- a/portage.Dockerfile +++ b/portage.Dockerfile @@ -19,10 +19,8 @@ RUN apk add --no-cache gnupg tar wget xz \ && gpg --list-keys \ && echo "standard-resolver" >> ~/.gnupg/dirmngr.conf \ && echo "honor-http-proxy" >> ~/.gnupg/dirmngr.conf \ - && gpg --keyserver hkps.pool.sks-keyservers.net --recv-keys ${SIGNING_KEY} \ + && gpg --keyserver ha.pool.sks-keyservers.net --recv-keys ${SIGNING_KEY} \ && gpg --verify "${SNAPSHOT}.gpgsig" "${SNAPSHOT}" \ - || gpg --keyserver keys.gnupg.net --recv-keys ${SIGNING_KEY} \ - || gpg --keyserver hkp://p80.pool.sks-keyservers.net:80 --recv-keys ${SIGNING_KEY} \ && md5sum -c ${SNAPSHOT}.md5sum \ && mkdir -p usr/portage/distfiles usr/portage/packages \ && tar xJpf ${SNAPSHOT} -C usr \ diff --git a/stage3.Dockerfile b/stage3.Dockerfile index 2358d92..94f392c 100644 --- a/stage3.Dockerfile +++ b/stage3.Dockerfile @@ -25,9 +25,7 @@ RUN echo "Building Gentoo Container image for ${ARCH} ${SUFFIX} fetching from ${ && gpg --list-keys \ && echo "standard-resolver" >> ~/.gnupg/dirmngr.conf \ && echo "honor-http-proxy" >> ~/.gnupg/dirmngr.conf \ - && gpg --keyserver hkps.pool.sks-keyservers.net --recv-keys ${SIGNING_KEY} \ - || gpg --keyserver keys.gnupg.net --recv-keys ${SIGNING_KEY} \ - || gpg --keyserver hkp://p80.pool.sks-keyservers.net:80 --recv-keys ${SIGNING_KEY} \ + && gpg --keyserver ha.pool.sks-keyservers.net --recv-keys ${SIGNING_KEY} \ && gpg --verify "${STAGE3}.DIGESTS.asc" \ && awk '/# SHA512 HASH/{getline; print}' ${STAGE3}.DIGESTS.asc | sha512sum -c \ && tar xjpf "${STAGE3}" --xattrs --numeric-owner \ |