aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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