parent
55cc6898a2
commit
182b7d798c
2 changed files with 4 additions and 2 deletions
|
@ -8,7 +8,8 @@ RUN mkdir /os && wget -O - "https://navos.hydrar.de/rootfs/${TARGETARCH}/rootfs.
|
||||||
FROM scratch
|
FROM scratch
|
||||||
COPY --from=builder /os/ /
|
COPY --from=builder /os/ /
|
||||||
|
|
||||||
# Update
|
# Update & remove local keyring
|
||||||
RUN pacman -Syu --noconfirm
|
RUN rm -r /etc/pacman.d/gnupg/
|
||||||
|
# RUN pacman -Syu --noconfirm &&
|
||||||
|
|
||||||
CMD ["/bin/sh"]
|
CMD ["/bin/sh"]
|
|
@ -1,3 +1,4 @@
|
||||||
mkdir rootfs
|
mkdir rootfs
|
||||||
doas navinstall create-tar rootfs
|
doas navinstall create-tar rootfs
|
||||||
|
rm -r rootfs/etc/pacman.d/gnupg/
|
||||||
doas tar --numeric-owner --xattrs --acls -cpf rootfs.tar -C rootfs .
|
doas tar --numeric-owner --xattrs --acls -cpf rootfs.tar -C rootfs .
|
Loading…
Add table
Add a link
Reference in a new issue