From 64980fa44fb069fc8d467bac84b24451d9ac1d47 Mon Sep 17 00:00:00 2001 From: "Rick Farina (Zero_Chaos)" Date: Mon, 1 Jan 2024 13:53:19 -0500 Subject: [PATCH 1/2] temporarily(?) ensure keys are up to date --- Dockerfile.template | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/Dockerfile.template b/Dockerfile.template index ff8c7ea..feeeb84 100644 --- a/Dockerfile.template +++ b/Dockerfile.template @@ -1,4 +1,9 @@ FROM scratch ADD TEMPLATE_ROOTFS_FILE / ENV LANG=en_US.UTF-8 +# Ensure keys are up to date +RUN rm -rf /etc/pacman.d/gnupg && \ + pacman-key --init && \ + pacman-key --populate archlinux && \ + pacman-key --update --keyserver kerserver.ubuntu.com CMD ["/usr/bin/bash"] From 4fda24177eccd3334b0db61281a2e363cc76fcb4 Mon Sep 17 00:00:00 2001 From: "Rick Farina (Zero_Chaos)" Date: Mon, 1 Jan 2024 14:06:04 -0500 Subject: [PATCH 2/2] this version works --- Dockerfile.template | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/Dockerfile.template b/Dockerfile.template index feeeb84..9939557 100644 --- a/Dockerfile.template +++ b/Dockerfile.template @@ -2,8 +2,6 @@ FROM scratch ADD TEMPLATE_ROOTFS_FILE / ENV LANG=en_US.UTF-8 # Ensure keys are up to date -RUN rm -rf /etc/pacman.d/gnupg && \ - pacman-key --init && \ - pacman-key --populate archlinux && \ - pacman-key --update --keyserver kerserver.ubuntu.com +RUN pacman-key --init && \ + pacman -Syu --noconfirm archlinux-keyring CMD ["/usr/bin/bash"]