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