Skip to content

Commit

Permalink
Add integration Dockerfile to test parent directory permissions
Browse files Browse the repository at this point in the history
  • Loading branch information
dtaniwaki committed Mar 16, 2019
1 parent 4b1f3ce commit bdef908
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions integration/dockerfiles/Dockerfile_test_parent_dir_perms
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
FROM busybox

RUN adduser --disabled-password --gecos "" --uid 1000 user
RUN mkdir -p /home/user/foo
RUN chown -R user /home/user
RUN chmod 700 /home/user/foo
ADD Makefile /home/user/foo/Makefile
RUN chown -R user /home/user

0 comments on commit bdef908

Please sign in to comment.