# This test case exercises using the fedora-bootc image as a builder # to generate a minimal target image derived from CentOS Stream 10 content, # and then further extends it in a secondary phase. FROM quay.io/fedora/fedora-bootc:rawhide as repos # This is intentionally a locally built image FROM localhost/fedora-bootc as builder RUN --mount=type=bind,from=repos,src=/,dst=/repos,rw /usr/libexec/bootc-base-imagectl build-rootfs --manifest=standard/manifest /repos /target-rootfs # This pulls in the rootfs generated in the previous step FROM scratch COPY --from=builder /target-rootfs/ / RUN <