archlinux image keyring issue

This commit is contained in:
sickcodes 2022-11-16 14:41:37 +00:00
parent bb75dc4669
commit c0ea46aab5

View File

@ -68,7 +68,8 @@ ARG MIRROR_COUNTRY=US
ARG MIRROR_COUNT=10 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 # 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 --init \
&& pacman-key --populate archlinux && pacman-key --populate archlinux