From ff54aaa634f9b3fbcdc67ceff8ebcc9689ca0658 Mon Sep 17 00:00:00 2001 From: Valentin Rothberg Date: Wed, 16 Mar 2022 14:04:07 +0100 Subject: podman create: building local pause image: do not read ignore files Make sure to ignore local {container,docker}ignore files when building a local pause image. Otherwise, we may mistakenly not be able to copy catatonit into the build container. Fixes: #13529 Signed-off-by: Valentin Rothberg --- test/system/200-pod.bats | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) (limited to 'test/system/200-pod.bats') diff --git a/test/system/200-pod.bats b/test/system/200-pod.bats index 34dfaa8f6..ca931e244 100644 --- a/test/system/200-pod.bats +++ b/test/system/200-pod.bats @@ -6,13 +6,7 @@ load helpers function teardown() { run_podman pod rm -f -t 0 -a run_podman rm -f -t 0 -a - run_podman image list --format '{{.ID}} {{.Repository}}' - while read id name; do - if [[ "$name" =~ /podman-pause ]]; then - run_podman rmi $id - fi - done <<<"$output" - + run_podman ? rmi $(pause_image) basic_teardown } -- cgit v1.2.3-54-g00ecf