Описание тега docker-maven-plugin
To be used with programming questions that uses docker-maven-plugin ( A Maven plugin for building and pushing Docker images)
The Docker Maven Plugin was the initial Maven plugin used at Spotify for building Docker images out of Java services. This plugin is capable of generating a Dockerfile
for you based on configuration in the pom.xml file for things like the FROM
image, resources to add with ADD/COPY
, etc.
You can use this plugin to create a Docker image with artifacts built from your Maven project. For example, the build process for a Java service can output a Docker image that runs the service.
Note that the authors recommend that new projects use Dockerfile Maven Plugin instead.