aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorsickcodes <[email protected]>2022-11-16 14:41:37 +0000
committersickcodes <[email protected]>2022-11-16 14:41:37 +0000
commitc0ea46aab557d0a7decafd0e9aca12acc31f0443 (patch)
treebacfd8ebd2fddfc6f5611b66ef958f8e78f19cd7
parentgit pull when doubling builds on one server (diff)
downloaddocker-osx-c0ea46aab557d0a7decafd0e9aca12acc31f0443.tar.xz
docker-osx-c0ea46aab557d0a7decafd0e9aca12acc31f0443.zip
archlinux image keyring issue
-rw-r--r--Dockerfile3
1 files changed, 2 insertions, 1 deletions
diff --git a/Dockerfile b/Dockerfile
index 9f1032d..93572ac 100644
--- a/Dockerfile
+++ b/Dockerfile
@@ -68,7 +68,8 @@ ARG MIRROR_COUNTRY=US
ARG MIRROR_COUNT=10
# Fixes issue with invalid GPG keys: update the archlinux-keyring package to get the latest keys, then remove and regenerate gnupg keys
-RUN rm -rf /etc/pacman.d/gnupg \
+RUN pacman -Sy archlinux-keyring --noconfirm \
+ && rm -rf /etc/pacman.d/gnupg \
&& pacman-key --init \
&& pacman-key --populate archlinux