1
0
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:
Colin Walters
2026-01-06 14:55:05 -05:00
parent 6edd1f5384
commit f1a7624542
5 changed files with 19 additions and 51 deletions

View File

@@ -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"