-
Notifications
You must be signed in to change notification settings - Fork 493
Should dockerfile be child of the contextDirectory
?
#336
Comments
Not only is this possible in docker-compose but also with docker build:
So this restriction seems unnecessary. |
I also think this should be supported. It's already solved in docker repo and needs to be added here as well. |
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. |
Interesting how this issue is marked as stale even when no maintainers have given feedback or had a look at it. |
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. |
Does it make sense to accept issues on this repo if a bot is going to close them with no involvement from maintainers? |
Being able to specify a path to a dockerfile makes sense to me: But after 9 months I won't hold my breath. I'll have to look for another Maven plugin. Any suggestions? |
FEATURE REQUEST:
Description
Relax the condition where
dockerfile
should be a child element ofcontextDirectory
:dockerfile-maven/plugin/src/main/java/com/spotify/plugin/dockerfile/BuildMojo.java
Line 282 in 15780af
docker-compose
allows to have something like:How to reproduce
What do you expect
Accept any location for dockerfile
What happened instead
Shows an error if it is not a child file
I can come up with a PR for this.
The text was updated successfully, but these errors were encountered: