aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorsickcodes <[email protected]>2022-07-04 12:53:22 +0000
committersickcodes <[email protected]>2022-07-04 12:53:22 +0000
commit1fa728b08d550c58052b5129b92d96af5b558ff6 (patch)
tree7e35231e03e859cb40cf8ae4205a6ca3efe3abb5
parentFixes #485 (diff)
downloaddocker-osx-1fa728b08d550c58052b5129b92d96af5b558ff6.tar.xz
docker-osx-1fa728b08d550c58052b5129b92d96af5b558ff6.zip
Fixes #510 missing keyservers
-rw-r--r--Dockerfile4
1 files changed, 4 insertions, 0 deletions
diff --git a/Dockerfile b/Dockerfile
index f28924e..ca23a6e 100644
--- a/Dockerfile
+++ b/Dockerfile
@@ -80,6 +80,10 @@ RUN if [[ "${RANKMIRRORS}" ]]; then \
&& cat /etc/pacman.d/mirrorlist \
; fi
+RUN tee -a /etc/pacman.d/gnupg/gpg.conf <<< 'keyserver hkp://keyserver.ubuntu.com' \
+ && tee -a /etc/pacman.d/gnupg/gpg.conf <<< 'keyserver hkps://hkps.pool.sks-keyservers.net:443' \
+ && tee -a /etc/pacman.d/gnupg/gpg.conf <<< 'keyserver hkp://pgp.mit.edu:11371'
+
# This fails on hub.docker.com, useful for debugging in cloud
# RUN [[ $(egrep -c '(svm|vmx)' /proc/cpuinfo) -gt 0 ]] || { echo KVM not possible on this host && exit 1; }