FROM git.hydrar.de/navos/navos:latest AS builder COPY ./pacman.conf /pacman.conf RUN pacman -Syu --noconfirm && pacman -S --noconfirm navinstall RUN navinstall create-tar /os FROM scratch COPY --from=builder /os/ / CMD ["/bin/sh"]