mirror of
https://github.com/containers/bootc.git
synced 2026-02-05 06:45:13 +01:00
build-sys: Consolidate test image content into base
Move all content from the derived test image (hack/Containerfile) into the main Dockerfile base image. This includes nushell, cloud-init, and the other testing packages from packages.txt. This simplifies the build by avoiding the need to juggle multiple images during testing workflows - the base image now contains everything needed. Assisted-by: OpenCode (Claude Sonnet 4) Signed-off-by: Colin Walters <walters@verbum.org> # Conflicts: # hack/Containerfile
This commit is contained in:
@@ -49,6 +49,8 @@ RUN /usr/libexec/bootc-base-imagectl build-rootfs --manifest=standard /target-ro
|
||||
|
||||
FROM scratch as base
|
||||
COPY --from=target-base /target-rootfs/ /
|
||||
COPY --from=src /src/hack/ /run/hack/
|
||||
RUN cd /run/hack/ && ./provision-derived.sh
|
||||
# Note we don't do any customization here yet
|
||||
# Mark this as a test image
|
||||
LABEL bootc.testimage="1"
|
||||
|
||||
Reference in New Issue
Block a user