container/Dockerfile
JMARyA ae86fd8b0f
All checks were successful
ci/woodpecker/push/build Pipeline was successful
🚑️ fix
2025-04-17 17:42:30 +02:00

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