Skip to content

Commit

Permalink
test case; handle docker volume without permissions on ubi
Browse files Browse the repository at this point in the history
  • Loading branch information
grooverdan committed Aug 9, 2024
1 parent 90edf6e commit 3bc1f5e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .test/run.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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 \
Expand Down

0 comments on commit 3bc1f5e

Please sign in to comment.