This pom adds the ability to easily build a Docker image from the primary artifact of a maven build. This pom encapsulates all of the info necessary to build as well as publish the Docker image into Main Street Hub's private Docker registry (hosted in ECR).
Note: it is assumed that the primary artifact of the maven build is a single fat jar that contains all of it's dependencies as well as a manifest specifying a main class.
- Enable
skipExtendedAuth
fordocker-maven-plugin
- Broken build, do not use.
- Upgraded parent POM,
com.mainstreethub:parent-pom
, to 1.6.0
- Upgraded
io.fabric8:docker-maven-plugin
to 0.20.1
- Updated label
app
toapplication
- Updated label
app_version
toversion
- Updated base image from docker.io/java to docker.io/openjdk.
- Made base image configurable for image build.
- Added labels to Docker image for application (app) and application version (app_version)
- Upgraded docker-maven-plugin to version 0.18.1