The extension for configuring a conventional Docker plugin.
| Type | Name and description |
|---|---|
Property<String> |
baseImageThe Docker base image used for Java application. |
ListProperty<String> |
jvmArgsThe JVM arguments used to start the Java program. |
Property<String> |
maintainerThe maintainer of the image. |
ListProperty<Integer> |
portsThe Docker image exposed ports. |
Property<String> |
tagThe tag used for the Docker image. |
| Constructor and description |
|---|
DockerConventionApplicationExtension
(ObjectFactory objectFactory) |
The Docker base image used for Java application.
Defaults to openjdk:jre-alpine.
The JVM arguments used to start the Java program.
Defaults to [].
The maintainer of the image.
Defaults to the value of the system property user.name.
The Docker image exposed ports.
Defaults to [8080].
Groovy Documentation