Class DockerfileMojo

java.lang.Object
org.apache.maven.plugin.AbstractMojo
All Implemented Interfaces:
org.apache.maven.plugin.ContextEnabled, org.apache.maven.plugin.Mojo

@Mojo(name="dockerfile", requiresDependencyResolution=COMPILE_PLUS_RUNTIME) @Execute(phase=PROCESS_CLASSES) public class DockerfileMojo extends AbstractDockerMojo

Generates a Dockerfile depending on the packaging and micronaut.runtime properties.

mvn mn:dockerfile -Dpackaging=docker-native -Dmicronaut.runtime=lambda
Since:
1.1
Author:
Álvaro Sánchez-Mariscal