docker-maven-plugin icon indicating copy to clipboard operation
docker-maven-plugin copied to clipboard

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

Open waltli opened this issue 5 years ago • 2 comments

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

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

waltli avatar Nov 30 '20 11:11 waltli

bind the lifecycle to package:

                <executions>
                    <execution>
                        <id>build-image</id>
                        <phase>package</phase>
                        <goals>
                            <goal>build</goal>
                        </goals>
                    </execution>
                </executions>

bingfengwx avatar Apr 07 '21 03:04 bingfengwx

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.

stale[bot] avatar Jan 09 '22 01:01 stale[bot]