From c0ea46aab557d0a7decafd0e9aca12acc31f0443 Mon Sep 17 00:00:00 2001 From: sickcodes Date: Wed, 16 Nov 2022 14:41:37 +0000 Subject: [PATCH] archlinux image keyring issue --- Dockerfile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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