Skip to content

Commit

Permalink
Merge pull request #2 from ElijahLynn/keyserver-receive-failed
Browse files Browse the repository at this point in the history
Disable IPv6. Fixes #1.
  • Loading branch information
jokersoft authored Feb 23, 2019
2 parents 84cea6d + 6103a9b commit 3b55b89
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,9 @@ RUN apt-get update -qq >/dev/null 2>&1 \

# x-layer 2: prepare php source compilation and add jenkins user to sudo group
RUN set -xe \
echo "jenkins ALL=(ALL:ALL) NOPASSWD: ALL" > /etc/sudoers \
&& mkdir ~/.gnupg \
&& echo "disable-ipv6" >> ~/.gnupg/dirmngr.conf \
&& echo "jenkins ALL=(ALL:ALL) NOPASSWD: ALL" > /etc/sudoers \
&& cd /usr/src \
&& curl -fSL "https://secure.php.net/get/$PHP_FILENAME/from/this/mirror" -o php.tar.xz \
&& echo "$PHP_SHA256 *php.tar.xz" | sha256sum -c - \
Expand Down

0 comments on commit 3b55b89

Please sign in to comment.