feat: add PGP key import functionality to entrypoint script

This commit is contained in:
2026-04-27 00:36:14 +02:00
parent 5a87cf8995
commit 0cd1e933f8
2 changed files with 17 additions and 8 deletions
-8
View File
@@ -78,14 +78,6 @@ RUN pacman -Syu --noconfirm && \
zlib \
&& pacman -Scc --noconfirm
# Import WebKitGTK PGP signing keys
RUN gpg --keyserver keyserver.ubuntu.com --recv-keys \
5AA3BC334FD7E3369E7C77B291C559DBE4C9123B \
013A0127AC9C65B34FFA62526C1009B693975393 || \
gpg --keyserver hkps://keys.openpgp.org --recv-keys \
5AA3BC334FD7E3369E7C77B291C559DBE4C9123B \
013A0127AC9C65B34FFA62526C1009B693975393
# Non-root build user (makepkg refuses to run as root)
RUN useradd -m -G wheel builduser && \
echo '%wheel ALL=(ALL) NOPASSWD: ALL' >> /etc/sudoers