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
|
||||
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"]
|
|
@ -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 .
|
Loading…
Add table
Add a link
Reference in a new issue