MVN

net.oneandone.maven.plugins : dockerbuild

Maven & Gradle

Jun 23, 2021
1 stars

Maven Dockerbuild Plugin · Maven plugin to build Docker images from a Dockerfile. The main idea is to store this Dockerfile in a *dockerbuild* artifact and manage it centrally in your favorite Naven repository. To build an image, this plugin resolves the dockerbuild artifact, unpacks it into the build context directory, adds necessary artifacts, and runs a Docker build on it.

<plugin>
    <groupId>net.oneandone.maven.plugins</groupId>
    <artifactId>dockerbuild</artifactId>
    <version>1.2.2</version>
</plugin>
Copy
pom.xml
Table Of Contents

Latest Version

Choose a version of net.oneandone.maven.plugins : dockerbuild to add to Maven - Latest Versions:

  • Latest Stable: 1.2.2

All Versions

Choose a version of net.oneandone.maven.plugins : dockerbuild to add to Maven - All Versions:

Version Vulnerabilities Updated
1.2.x
dockerbuild-1.2.2
dockerbuild-1.2.1
dockerbuild-1.2.0
1.1.x
dockerbuild-1.1.1
dockerbuild-1.1.0
1.0.x
dockerbuild-1.0.1
dockerbuild-1.0.0

How to add a plugin to Maven

Add the maven plugin to the pom.xml file information in this tag as follows:

<plugin>
    <groupId>net.oneandone.maven.plugins</groupId>
    <artifactId>dockerbuild</artifactId>
    <version>1.2.2</version>
</plugin>

Advertisement