-
Notifications
You must be signed in to change notification settings - Fork 645
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
respect settings in .dockerignore #362
Comments
When doing builds with `dockerFileDir` set then a .maven-dockerignore can be given which includes FileSet exclude patterns (ant style globs). These are ignored when doing the build. It is intentionally not called `.dockerignore` in order to avoid confusion with Docker's .dockerignore which uses a different syntax.
You are right, I just added support for a For advanced cases a 'hope that fits your use case. |
0.13.8 released |
Where should i put .maven-dockerignore? |
why not just using the standard .dockerignore and invent another file doing the same? |
Thank you for the clear explanation, I would have preferred maven configuration properties in this case |
I have a
Dockerfile
inside my project root.The assembly within the maven plugin is configured
How do i prevent the system from including the ./target folder recursively on building?
A .dockerignore file like
Does not help.
The text was updated successfully, but these errors were encountered: