Skip to content

Conversation

cpuguy83
Copy link
Contributor

Fixes #498
Allowing Dockerfile and .dockerignore in the exclusion filter
completely breaks the build on docker < 1.5

In Docker 1.5 these entries are treated as special cases when included
in the .dockerignore and are still sent as part of the context. The
daemon ends up excluding them from any ADD, COPY, and cache
validation.

Fixes #498
Allowing `Dockerfile` and `.dockerignore` in the exclusion filter
completely breaks the build on docker < 1.5

In Docker 1.5 these entries are treated as special cases when included
in the .dockerignore and are still sent as part of the context. The
daemon ends up excluding them from any `ADD`, `COPY`, and cache
validation.

Signed-off-by: Brian Goff <cpuguy83@gmail.com>
@cpuguy83 cpuguy83 force-pushed the 498_dockerignore_special_names branch from 7dc125d to ce40730 Compare February 24, 2015 20:48
@shin-
Copy link
Contributor

shin- commented Feb 27, 2015

Thanks!

shin- added a commit that referenced this pull request Feb 27, 2015
@shin- shin- merged commit 39ee598 into docker:master Feb 27, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

.dockerignore and Dockerfile ignore
2 participants