mirror of
https://github.com/clearlinux/docker.git
synced 2026-09-07 22:42:09 +00:00
Fix .dockerignore when ignoring unreadable dirs
The initial `ValidateContextDirectory` implementation fails loudly when a file lacks read permissions in the current context. However that situation is valid if the file is included in the `.dockerignore` patterns. Docker-DCO-1.1-Signed-off-by: Bruno Renié <brutasse@gmail.com> (github: brutasse)
This commit is contained in:
committed by
Michael Crosby
parent
54b287bbc8
commit
27cca4c70c
+1
@@ -0,0 +1 @@
|
||||
directoryWeCantStat
|
||||
+2
@@ -0,0 +1,2 @@
|
||||
FROM busybox
|
||||
ADD . /foo/
|
||||
Reference in New Issue
Block a user