Skip to content
Permalink
Browse files

Fix "keyserver receive failed: No data"

Refer to https://unix.stackexchange.com/a/110594 for problem description. Obvioulsy inhibits build of MySQL docker image on certain platforms where port 11371 is blocked.
  • Loading branch information...
jojo243 committed Jun 6, 2019
1 parent 22a4fc5 commit 9ae0bb034660e61712a96e6dcedff9bbc19056ce
Showing with 3 additions and 3 deletions.
  1. +3 −3 mysql/Dockerfile
@@ -17,9 +17,9 @@ RUN set -x \
&& wget -O /usr/local/bin/gosu.asc "https://github.com/tianon/gosu/releases/download/$GOSU_VERSION/gosu-$(dpkg --print-architecture).asc" \
&& export GNUPGHOME="$(mktemp -d)" \
&& key=B42F6819007F00F88E364FD4036A9C25BF357DD4 \
&& gpg --keyserver pgp.mit.edu --recv-keys "$key" || \
gpg --keyserver keyserver.pgp.com --recv-keys "$key" || \
gpg --keyserver ha.pool.sks-keyservers.net --recv-keys "$key" \
&& gpg --keyserver pgp.mit.edu:80 --recv-keys "$key" || \
gpg --keyserver keyserver.pgp.com:80 --recv-keys "$key" || \
gpg --keyserver ha.pool.sks-keyservers.net:80 --recv-keys "$key" \
&& gpg --batch --verify /usr/local/bin/gosu.asc /usr/local/bin/gosu \
&& rm -rf "$GNUPGHOME" /usr/local/bin/gosu.asc \
&& chmod +x /usr/local/bin/gosu \

0 comments on commit 9ae0bb0

Please sign in to comment.
You can’t perform that action at this time.