From 2f53079f090fe90a7436b9eaf6917f57067e2ad1 Mon Sep 17 00:00:00 2001 From: Henrik Jonsson Date: Mon, 9 Apr 2018 12:10:31 +0200 Subject: [PATCH] Switch to pool.sks-keyservers.net since pgp.mit.edu does not seem to know about the key --- Dockerfile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index 5538e8a..0b41cf7 100644 --- a/Dockerfile +++ b/Dockerfile @@ -31,7 +31,8 @@ WORKDIR /usr/local/bin # can figure out why it's flaky and commonly gives "keys: key # 4E2C6E8793298290 can't be retrieved, gpg: no valid OpenPGP data # found." -RUN gpg --keyserver pgp.mit.edu --recv-keys $RELEASE_KEY +RUN gpg --keyserver pool.sks-keyservers.net --recv-keys ${RELEASE_KEY} + RUN curl --fail -O -sSL ${RELEASE_URL} && \ curl --fail -O -sSL ${RELEASE_URL}.asc && \ gpg --verify ${RELEASE_FILE}.asc && \