From ea5620182f6dc1fabc33e1a8d453d070fba0952c Mon Sep 17 00:00:00 2001 From: TomSweeneyRedHat Date: Wed, 20 Dec 2017 17:54:13 -0500 Subject: Initial podman build Signed-off-by: TomSweeneyRedHat Closes: #162 Approved by: rhatdan --- test/build/volume-perms/Dockerfile | 6 ++++++ 1 file changed, 6 insertions(+) create mode 100644 test/build/volume-perms/Dockerfile (limited to 'test/build/volume-perms/Dockerfile') diff --git a/test/build/volume-perms/Dockerfile b/test/build/volume-perms/Dockerfile new file mode 100644 index 000000000..4dced7738 --- /dev/null +++ b/test/build/volume-perms/Dockerfile @@ -0,0 +1,6 @@ +FROM alpine +VOLUME /vol/subvol +# At this point, the directory should exist, with default permissions 0755, the +# contents below /vol/subvol should be frozen, and we shouldn't get an error +# from trying to write to it because we it was created automatically. +RUN dd if=/dev/zero bs=512 count=1 of=/vol/subvol/subvolfile -- cgit v1.2.3-54-g00ecf