Merge pull request #13611 from duglin/Issue13417a

Allow .dockerignore to ignore everything
This commit is contained in:
Jessie Frazelle
2015-06-01 15:59:57 -07:00
3 changed files with 46 additions and 10 deletions

View File

@@ -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,