diff options
Diffstat (limited to 'test/build/volume-perms')
-rw-r--r-- | test/build/volume-perms/Dockerfile | 6 |
1 files changed, 6 insertions, 0 deletions
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 |