mirror of
https://github.com/moby/moby.git
synced 2026-08-07 16:41:50 +00:00
Merge pull request #13611 from duglin/Issue13417a
Allow .dockerignore to ignore everything
This commit is contained in:
@@ -175,7 +175,7 @@ func (cli *DockerCli) CmdBuild(args ...string) error {
|
||||
}
|
||||
|
||||
if err := utils.ValidateContextDirectory(root, excludes); err != nil {
|
||||
return fmt.Errorf("Error checking context is accessible: '%s'. Please check permissions and try again.", err)
|
||||
return fmt.Errorf("Error checking context: '%s'.", err)
|
||||
}
|
||||
options := &archive.TarOptions{
|
||||
Compression: archive.Uncompressed,
|
||||
|
||||
Reference in New Issue
Block a user