aboutsummaryrefslogtreecommitdiff
path: root/vnc-version/Dockerfile
diff options
context:
space:
mode:
Diffstat (limited to 'vnc-version/Dockerfile')
-rw-r--r--vnc-version/Dockerfile3
1 files changed, 3 insertions, 0 deletions
diff --git a/vnc-version/Dockerfile b/vnc-version/Dockerfile
index 065c6cb..d4ef8b7 100644
--- a/vnc-version/Dockerfile
+++ b/vnc-version/Dockerfile
@@ -93,6 +93,9 @@ RUN if [[ "${RANKMIRRORS}" ]]; then { pacman -Sy wget --noconfirm || pacman -Syu
&& tee -a /etc/pacman.d/mirrorlist <<< 'Server = https://mirror.rackspace.com/archlinux/$repo/os/$arch' \
&& cat /etc/pacman.d/mirrorlist ; fi
+# Fixes issue with invalid GPG keys: update the archlinux-keyring package to get the latest keys, then remove and regenerate gnupg keys
+RUN pacman -Sy archlinux-keyring --noconfirm && rm -rf /etc/pacman.d/gnupg && pacman-key --init && pacman-key --populate
+
USER arch
RUN yes | sudo pacman -Syyuu --noconfirm \