Skip to content
This repository has been archived by the owner on Mar 31, 2022. It is now read-only.

How to building Docker Image in Maven Project of multi-module #368

Open
waltli opened this issue Dec 1, 2020 · 2 comments
Open

How to building Docker Image in Maven Project of multi-module #368

waltli opened this issue Dec 1, 2020 · 2 comments

Comments

@waltli
Copy link

waltli commented Dec 1, 2020

project structure:
--parent
----subA
------pom.xml
----subB
------pom.xml
----pom.xml

How config above project with dockerfile-maven-plugin to building Docker Image?

@waltli waltli changed the title How to realize one key package in Maven Project of multi-module How to building Docker Image in Maven Project of multi-module Dec 1, 2020
@ddowling-act
Copy link

At least from my point of view, this involves adding the plugin to the pom that builds the jar you're actually interested in running. So I guess it would depend on what the current output of your project is?

@shuiyihan12
Copy link

我也想知道,如何在多模块项目构建docker镜像,并推送到制定仓库

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants