From 3bc1f5ef5964c10526b4833f1314e1cfee9ee431 Mon Sep 17 00:00:00 2001 From: Daniel Black Date: Fri, 9 Aug 2024 10:12:33 +1000 Subject: [PATCH] test case; handle docker volume without permissions on ubi --- .test/run.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.test/run.sh b/.test/run.sh index 7ac3d7b8..93e20f5d 100755 --- a/.test/run.sh +++ b/.test/run.sh @@ -447,7 +447,7 @@ echo '*D87991C62A9CAEDC4AE0F608F19173AC7E614952' > "$secretdir"/p tmpvol=v$RANDOM docker volume create "$tmpvol" # any container will work with tar in it, we may well use the image we have -(cd "$secretdir" ; tar -cf - .) | docker run --rm --volume "$tmpvol":/v -i "${image}" tar -xf - -C /v +(cd "$secretdir" ; tar -cf - .) | docker run --rm --volume "$tmpvol":/v --user root -i "${image}" tar -xf - -C /v rm -rf "${secretdir}" runandwait \