You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
when a single Dockerfile in the base directory (or src/main/docker). The image name defaults to ${project.groupId}/${project.artifactId}:${project.version} then, but can be configured with a global imageName.
A good starting point is the class ImageConfiguration and how it is used in BuildMojo.executeInternal(). I would add a check, whether the ImageConfiguration is empty and then build up one dynamically with the given defaults (and when a Dockerfile exists in either src/main/docker or top-level in the project dir).
When only a single image is build with Dockerfile, no need to provide
too much parameters in configuration; build ImageConfiguration dynamically
with the given defaults.
When only a single image should be build with a Dockerfile, the current configuration syntax has too much boilerplate.
E.g.
should be possible with
when a single
Dockerfile
in the base directory (orsrc/main/docker
). The image name defaults to${project.groupId}/${project.artifactId}:${project.version}
then, but can be configured with a globalimageName
.Also think about a compatibility mode for the configuration syntax of https://github.com/spotify/docker-maven-plugin or https://github.com/spotify/dockerfile-maven
The text was updated successfully, but these errors were encountered: