diff --git a/tests/p_podman/10_podman_tests.sh b/tests/p_podman/10_podman_tests.sh index 0550c9a..ff9f932 100755 --- a/tests/p_podman/10_podman_tests.sh +++ b/tests/p_podman/10_podman_tests.sh @@ -12,7 +12,7 @@ tests_in_order=( podman run --rm --privileged -v ${HOME}/test.txt:/test.txt quay.io/centos/centos:stream${centos_ver} bash -c 'echo HELLO > /test.txt' && \ grep -q -e 'HELLO' ${HOME}/test.txt && \ rm -f ${HOME}/test.txt" - "printf \"FROM quay.io/centos/centos:stream${centos_ver}\nRUN echo 'HELLO'\n\" > ${HOME}/Containerfile && \ + "printf \"FROM quay.io/centos/centos:stream${centos_ver}\nCMD echo 'HELLO'\n\" > ${HOME}/Containerfile && \ podman build -t test:latest -f ${HOME}/Containerfile && \ podman image rm localhost/test:latest && \ rm -rf ${HOME}/Containerfile"