diff --git a/Dockerfile b/Dockerfile index b127743..999ce0d 100644 --- a/Dockerfile +++ b/Dockerfile @@ -8,7 +8,8 @@ RUN mkdir /os && wget -O - "https://navos.hydrar.de/rootfs/${TARGETARCH}/rootfs. FROM scratch COPY --from=builder /os/ / -# Update -RUN pacman -Syu --noconfirm +# Update & remove local keyring +RUN rm -r /etc/pacman.d/gnupg/ +# RUN pacman -Syu --noconfirm && CMD ["/bin/sh"] \ No newline at end of file diff --git a/create_fs.sh b/create_fs.sh index 394a43f..f9cf001 100644 --- a/create_fs.sh +++ b/create_fs.sh @@ -1,3 +1,4 @@ mkdir rootfs doas navinstall create-tar rootfs +rm -r rootfs/etc/pacman.d/gnupg/ doas tar --numeric-owner --xattrs --acls -cpf rootfs.tar -C rootfs . \ No newline at end of file