-
Notifications
You must be signed in to change notification settings - Fork 18.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
.dockerignore: !**/file doesn't work for selected inclusion #42788
Comments
working around a docker bug: moby/moby#42788
working around a docker bug: moby/moby#42788
working around a docker bug: moby/moby#42788
working around a docker bug: moby/moby#42788
working around a docker bug: moby/moby#42788
working around a docker bug: moby/moby#42788
Perhaps this is related to / may be resolved by #42758 and #42676 @aaronlehmann do you know? |
Yes, I believe it would be resolved by merging #42758. |
i'm having the same issue on Ubuntu, this is my
this works fine on macos but does not work on Ubuntu
a fix for this will be much appreciated! |
I don't think the changes related to this are in the 20.10 releases, but will be in the upcoming 22.06 release (a first beta build has been released in the |
Potential duplicate of Exception patterns in .dockerignore do not support wildcard directories #30018? Also part of [epic] builder: collected issues on improving .dockerignore #40319 |
I followed the docs and setup my .dockerignore like this:
However, these files are not added to the context as expected. Seems like
**
doesn't work for inclusion?Explicitly adding those files works as expected.
Docker version 20.10.7, build 20.10.7-0ubuntu1~20.04.1
The text was updated successfully, but these errors were encountered: