This commit is contained in:
Victor Noel
2019-10-03 17:53:14 +02:00
parent 4ce8b8db81
commit db12a77e6c
9 changed files with 62 additions and 4 deletions
@@ -0,0 +1,5 @@
# This dockerfile makes sure Dockerfile.dockerignore is working
# If so then ignore_relative/foo should copy to /foo
# If not, then this image won't build because it will attempt to copy three files to /foo, which is a file not a directory
FROM scratch
COPY ignore_relative/* /foo
@@ -0,0 +1,3 @@
# A .dockerignore file to make sure dockerignore support works
ignore_relative/**
!ignore_relative/foo