container/Dockerfile
JMARyA eda5ce6a83
Some checks failed
ci/woodpecker/push/build Pipeline failed
🚑️ fix
2025-04-17 17:34:42 +02:00

14 lines
No EOL
382 B
Docker

FROM git.hydrar.de/navos/navos:latest as builder
ARG TARGETARCH
# Download rootfs
RUN pacman -Syu --noconfirm && pacman -S --noconfirm wget
RUN mkdir /os && wget -O - "https://navos.hydrar.de/rootfs/${TARGETARCH}/rootfs.tar.xz" | tar --numeric-owner --xattrs --acls -xJf - -C /os
# Copy
FROM scratch
COPY --from=builder /os/ /
# Update
RUN pacman -Syu --noconfirm
CMD ["/bin/sh"]