FROM archlinux as builder COPY ./pacman.conf /pacman.conf RUN pacman -Syu navinstall RUN navinstall create-tar --dir /os FROM scratch COPY --from=builder /os/* /