-
Notifications
You must be signed in to change notification settings - Fork 634
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
Allow a Dockerfile for defining an Image to build #13
Comments
The idea is also to support Dockerfiles directly, probably a bit similar as the So some of the ideas are:
At the end there could be two use case: For building a simple data image or a simple microservice everything can be specified in the build configuration section directly in the pom.xml. For more complex needs (like your example with a specific volume export), a real Dockerfile can be provided (along with support files directly in the same directory and which can be added directly in the Dockerfile). The latter mode then should still support assemblies for sucking in dependencies and artifacts without providing ugly pathes into some target directory. |
added in 0.11.1, closing |
…tory-structure Plugin now retains directory structure of resources
Similar to https://github.com/spotify/docker-maven-plugin it should be possible to further tune the parameters for building the data image:
Dockerfile
BTW, @rculbertson, wouldn't it be an option to merge efforts ? I.e. one of the highlights of this plugin is to use a plain maven-assembly-plugin decscriptor for creating the data container (which is much more flexible than including files via path only).
The text was updated successfully, but these errors were encountered: