aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBrett Randall <javabrett@gmail.com>2017-12-12 15:30:22 -0500
committerManuel Rüger <manuel@rueg.eu>2017-12-15 17:51:04 +0100
commit44740cf939d222150a1ae79575ccaf876c8b49d7 (patch)
tree21a7ee027a6813f564cd1addcdab6aac91f42612 /portage.Dockerfile
parentUpgraded default builder from Alpine 3.6 to 3.7. (diff)
downloaddocker-images-44740cf939d222150a1ae79575ccaf876c8b49d7.tar.gz
docker-images-44740cf939d222150a1ae79575ccaf876c8b49d7.tar.bz2
docker-images-44740cf939d222150a1ae79575ccaf876c8b49d7.zip
Initialized GPG dirmngr with standard-resolver and honor-http-proxy options.
Possible that Travis builds are seeing (intermittent?) occurances of this bug or similar: - https://dev.gnupg.org/T2889 gnupg/dirmngr 2.1.17 fails on all keyserver operations Changes made working towards a fix for #53.
Diffstat (limited to 'portage.Dockerfile')
-rw-r--r--portage.Dockerfile3
1 files changed, 3 insertions, 0 deletions
diff --git a/portage.Dockerfile b/portage.Dockerfile
index 4c0dcf7..53f37ca 100644
--- a/portage.Dockerfile
+++ b/portage.Dockerfile
@@ -16,6 +16,9 @@ ARG SIGNING_KEY="0xEC590EEAC9189250"
RUN apk add --no-cache gnupg tar wget xz \
&& wget -q -c "${DIST}/${SNAPSHOT}" "${DIST}/${SNAPSHOT}.gpgsig" "${DIST}/${SNAPSHOT}.md5sum" \
+ && 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 --verify "${SNAPSHOT}.gpgsig" "${SNAPSHOT}" \
|| gpg --keyserver keys.gnupg.net --recv-keys ${SIGNING_KEY} \