@Mojo(name="docker-native", requiresDependencyResolution=COMPILE_PLUS_RUNTIME) public class DockerNativeMojo extends AbstractDockerMojo
Implementation of the docker-native
packaging.
WARNING: this goal is not intended to be executed directly. Instead, specify the packaging type
using the packaging
property, eg:
mvn package -Dpackaging=docker-native
Modifier and Type | Field and Description |
---|---|
static String |
DOCKER_NATIVE_PACKAGING |
static String |
GRAALVM_ARGS |
static String |
MICRONAUT_PARENT |
static String |
MICRONAUT_VERSION |
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 |
---|
DockerNativeMojo(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_NATIVE_PACKAGING
public static final String GRAALVM_ARGS
public static final String MICRONAUT_PARENT
public static final String MICRONAUT_VERSION
@Inject public DockerNativeMojo(org.apache.maven.project.MavenProject mavenProject, JibConfigurationService jibConfigurationService, ApplicationConfigurationService applicationConfigurationService, DockerService dockerService)
Copyright © 2020–2023 Micronaut. All rights reserved.