diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 3f33590..c4c2955 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -44,3 +44,4 @@ standard-build-and-test: (cd tests/rootfs && buildah build -t localhost/test --from localhost/fedora-bootc) cd tests buildah build -f Containerfile.test-derive --no-cache -t localhost/fedora-bootc-derived ${PRIV_ARGS} . + buildah build -f Containerfile.test-sysusers --no-cache -t localhost/fedora-bootc-derived ${PRIV_ARGS} . diff --git a/tests/Containerfile.test-sysusers b/tests/Containerfile.test-sysusers new file mode 100644 index 0000000..53e255b --- /dev/null +++ b/tests/Containerfile.test-sysusers @@ -0,0 +1,39 @@ +# This test case exercises --sysusers. +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 < overlay/usr/lib/sysusers.d/00-chrony.conf <