container/Dockerfile
JMARyA 55cc6898a2
Some checks failed
ci/woodpecker/push/build Pipeline failed
fix
2025-04-23 23:17:48 +02:00

14 lines
No EOL
379 B
Docker

FROM ubuntu as builder
ARG TARGETARCH
# Download rootfs
RUN apt-get update -y && apt-get upgrade -y && apt-get install -y wget xz-utils
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"]