-
Notifications
You must be signed in to change notification settings - Fork 642
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
Wrong docker file being used with multiple images created. #361
Comments
i believe this is the opposite problem described in #360 and using see here: https://maven.apache.org/pom.html under the |
@jgangemi that seems to do the trick. Moving the other base image creation into it's own profile seems to work too. But what I don't get is, why does this affect only the first image and not the other one as well? Assuming that all nodes are merged together (index wise), this means that the base config gets merged into the first image of docker profile. And <assembly>
<dockerFileDir>jre</dockerFileDir>
</assembly> takes precendence over the other configuration. Is this about right? |
it has something to do w/ the way maven merges the pom configurations but i can't really give a more in-depth explanation then that. when it does the merge, whatever is missing from the parent gets pulled from the child. |
As this is no issue with the plugin, closing the ticket. |
Hi,
we have an issue with the plugin pulling in wrong Dockerfiles. We create a base image within the default profile, which is later on used within -P docker profile for other images. But somehow the first image within the docker profile will be created using the parent image Dockerfile rather than it's own. Adding an empty to the list seems to cure this behaviour. Version used is 0.13.7
The text was updated successfully, but these errors were encountered: