public class MicronautDockerfile extends com.bmuschko.gradle.docker.tasks.image.Dockerfile implements DockerBuildOptions
com.bmuschko.gradle.docker.tasks.image.Dockerfile.AddFileInstruction, com.bmuschko.gradle.docker.tasks.image.Dockerfile.ArgInstruction, com.bmuschko.gradle.docker.tasks.image.Dockerfile.CommentInstruction, com.bmuschko.gradle.docker.tasks.image.Dockerfile.CopyFile, com.bmuschko.gradle.docker.tasks.image.Dockerfile.CopyFileInstruction, com.bmuschko.gradle.docker.tasks.image.Dockerfile.DefaultCommandInstruction, com.bmuschko.gradle.docker.tasks.image.Dockerfile.EntryPointInstruction, com.bmuschko.gradle.docker.tasks.image.Dockerfile.EnvironmentVariableInstruction, com.bmuschko.gradle.docker.tasks.image.Dockerfile.ExposePortInstruction, com.bmuschko.gradle.docker.tasks.image.Dockerfile.File, com.bmuschko.gradle.docker.tasks.image.Dockerfile.FileInstruction<T extends com.bmuschko.gradle.docker.tasks.image.Dockerfile.File>, com.bmuschko.gradle.docker.tasks.image.Dockerfile.From, com.bmuschko.gradle.docker.tasks.image.Dockerfile.FromInstruction, com.bmuschko.gradle.docker.tasks.image.Dockerfile.GenericInstruction, com.bmuschko.gradle.docker.tasks.image.Dockerfile.Instruction, com.bmuschko.gradle.docker.tasks.image.Dockerfile.LabelInstruction, com.bmuschko.gradle.docker.tasks.image.Dockerfile.MapInstruction, com.bmuschko.gradle.docker.tasks.image.Dockerfile.OnBuildInstruction, com.bmuschko.gradle.docker.tasks.image.Dockerfile.RunCommandInstruction, com.bmuschko.gradle.docker.tasks.image.Dockerfile.StringArrayInstruction, com.bmuschko.gradle.docker.tasks.image.Dockerfile.StringCommandInstruction, com.bmuschko.gradle.docker.tasks.image.Dockerfile.UserInstruction, com.bmuschko.gradle.docker.tasks.image.Dockerfile.VolumeInstruction, com.bmuschko.gradle.docker.tasks.image.Dockerfile.WorkDirInstruction| Constructor and Description |
|---|
MicronautDockerfile() |
| Modifier and Type | Method and Description |
|---|---|
DockerBuildOptions |
args(java.lang.String... args)
Arguments for the entrypoint.
|
DockerBuildOptions |
baseImage(java.lang.String imageName)
The base image to use.
|
void |
create() |
DockerBuildOptions |
exportPorts(java.lang.Integer... ports) |
org.gradle.api.provider.ListProperty<java.lang.String> |
getArgs() |
org.gradle.api.provider.Property<java.lang.String> |
getBaseImage() |
org.gradle.api.provider.ListProperty<java.lang.Integer> |
getExposedPorts() |
org.gradle.api.provider.Property<MicronautRuntime> |
getMicronautRuntime() |
addFile, addFile, addFile, arg, arg, copyFile, copyFile, copyFile, defaultCommand, defaultCommand, entryPoint, entryPoint, environmentVariable, environmentVariable, environmentVariable, exposePort, exposePort, from, from, from, getDestDir, getDestFile, getInstructions, instruction, instruction, instructionsFromTemplate, instructionsFromTemplate, instructionsFromTemplate, label, label, onBuild, onBuild, runCommand, runCommand, user, user, volume, volume, workingDir, workingDirappendParallelSafeAction, compareTo, configure, dependsOn, doFirst, doFirst, doFirst, doLast, doLast, doLast, finalizedBy, getActions, getAnt, getAsDynamicObject, getConvention, getDependsOn, getDescription, getDestroyables, getDidWork, getEnabled, getExtensions, getFinalizedBy, getGroup, getIdentityPath, getImpliesSubProjects, getInputs, getLocalState, getLogger, getLogging, getMustRunAfter, getName, getOnlyIf, getOutputs, getPath, getProject, getRequiredServices, getServices, getSharedResources, getShouldRunAfter, getStandardOutputCapture, getState, getTaskActions, getTaskDependencies, getTaskIdentity, getTemporaryDir, getTemporaryDirFactory, getTimeout, hasProperty, hasTaskActions, injectIntoNewInstance, isEnabled, isHasCustomActions, mustRunAfter, onlyIf, onlyIf, prependParallelSafeAction, property, replaceLogger, setActions, setDependsOn, setDescription, setDidWork, setEnabled, setFinalizedBy, setGroup, setImpliesSubProjects, setMustRunAfter, setOnlyIf, setOnlyIf, setProperty, setShouldRunAfter, shouldRunAfter, usesServicepublic void create()
create in class com.bmuschko.gradle.docker.tasks.image.Dockerfile@Input public org.gradle.api.provider.Property<MicronautRuntime> getMicronautRuntime()
public org.gradle.api.provider.ListProperty<java.lang.String> getArgs()
getArgs in interface DockerBuildOptionspublic org.gradle.api.provider.Property<java.lang.String> getBaseImage()
getBaseImage in interface DockerBuildOptionspublic org.gradle.api.provider.ListProperty<java.lang.Integer> getExposedPorts()
getExposedPorts in interface DockerBuildOptionspublic DockerBuildOptions args(java.lang.String... args)
DockerBuildOptionsargs in interface DockerBuildOptionsargs - The argumentspublic DockerBuildOptions baseImage(java.lang.String imageName)
DockerBuildOptionsbaseImage in interface DockerBuildOptionsimageName - The base image namepublic DockerBuildOptions exportPorts(java.lang.Integer... ports)
exportPorts in interface DockerBuildOptionsports - The ports to expose