@Mojo(name="docker", requiresDependencyResolution=COMPILE_PLUS_RUNTIME) public class DockerMojo extends AbstractDockerMojo
Allows using a provided Dockerfile.
WARNING: this goal is not intended to be executed directly. Instead, specify the packaging type
using the packaging
property, eg:
mvn package -Dpackaging=docker
Modifier and Type | Field and Description |
---|---|
static String |
DOCKER_PACKAGING |
appArguments, applicationConfigurationService, ARM_ARCH, baseImageRun, DEFAULT_BASE_IMAGE_GRAALVM_RUN, dockerService, jibConfigurationService, LATEST_TAG, mainClass, mavenProject, micronautRuntime, MOSTLY_STATIC_NATIVE_IMAGE_GRAALVM_FLAG, nativeImageBuildArgs, staticNativeImage, X86_64_ARCH
Constructor and Description |
---|
DockerMojo(org.apache.maven.project.MavenProject mavenProject,
JibConfigurationService jibConfigurationService,
ApplicationConfigurationService applicationConfigurationService,
DockerService dockerService) |
Modifier and Type | Method and Description |
---|---|
void |
execute() |
copyDependencies, getCmd, getFrom, getFromImage, getGraalVmBuildArgs, getPort, getTags, graalVmArch, graalVmJvmVersion, graalVmVersion, javaVersion
public static final String DOCKER_PACKAGING
@Inject public DockerMojo(org.apache.maven.project.MavenProject mavenProject, JibConfigurationService jibConfigurationService, ApplicationConfigurationService applicationConfigurationService, DockerService dockerService)
Copyright © 2020–2023 Micronaut. All rights reserved.