aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBrett Randall <javabrett@gmail.com>2017-12-13 19:21:17 +1100
committerManuel RĂ¼ger <manuel@rueg.eu>2017-12-15 17:51:04 +0100
commitbd0d30cbc0bd4a2fb612e3d317b3af364478d416 (patch)
tree9a49149a15a6f92f208dd71485d2774379604549
parentgpg: use (single) keyserver ha.pool.sks-keyservers.net. Troubleshooting #53. (diff)
downloaddocker-images-bd0d30cbc0bd4a2fb612e3d317b3af364478d416.tar.gz
docker-images-bd0d30cbc0bd4a2fb612e3d317b3af364478d416.tar.bz2
docker-images-bd0d30cbc0bd4a2fb612e3d317b3af364478d416.zip
gpg/dirmngr: disabled IPv6 - there seems to be a DNS or route problem with sks-keyservers.
Part of troubleshooting for #53.
-rw-r--r--portage.Dockerfile1
-rw-r--r--stage3.Dockerfile1
2 files changed, 2 insertions, 0 deletions
diff --git a/portage.Dockerfile b/portage.Dockerfile
index 33f6bc0..be90704 100644
--- a/portage.Dockerfile
+++ b/portage.Dockerfile
@@ -19,6 +19,7 @@ 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 \
+ && echo "disable-ipv6" >> ~/.gnupg/dirmngr.conf \
&& gpg --keyserver ha.pool.sks-keyservers.net --recv-keys ${SIGNING_KEY} \
&& gpg --verify "${SNAPSHOT}.gpgsig" "${SNAPSHOT}" \
&& md5sum -c ${SNAPSHOT}.md5sum \
diff --git a/stage3.Dockerfile b/stage3.Dockerfile
index 94f392c..4c4593c 100644
--- a/stage3.Dockerfile
+++ b/stage3.Dockerfile
@@ -25,6 +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 \
+ && echo "disable-ipv6" >> ~/.gnupg/dirmngr.conf \
&& 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 \