diff --git a/tests/rootfs/Dockerfile b/tests/rootfs/Dockerfile index 10e6e0c..0e407e2 100644 --- a/tests/rootfs/Dockerfile +++ b/tests/rootfs/Dockerfile @@ -1,6 +1,4 @@ # This should always be replaced with podman build --from. -FROM localhost/image-to-test as rootfs - -FROM quay.io/centos/centos:stream10 +FROM localhost/image-to-test COPY . /src -RUN --mount=type=bind,from=rootfs,target=/target-rootfs /src/run /target-rootfs +RUN /src/run /