container/Dockerfile
JMARyA d598aaac60
Some checks failed
ci/woodpecker/push/build Pipeline failed
fix
2025-04-17 17:15:10 +02:00

14 lines
No EOL
381 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 -xf - -C /os
# Copy
FROM scratch
COPY --from=builder /os/ /
# Update
RUN pacman -Syu --noconfirm
CMD ["/bin/sh"]