The extension for configuring a Spring Boot application via the DockerSpringBootApplicationPlugin.
Enhances the extension DockerExtension as child DSL element.
The following example demonstrates the use of the extension in a build script using the Groovy DSL:
docker {
springBootApplication {
baseImage = 'openjdk:8-alpine'
maintainer = 'Benjamin Muschko "benjamin.muschko@gmail.com"'
ports = [9090, 8080]
tag = 'awesome-spring-boot:1.115'
jvmArgs = ['-Dspring.profiles.active=production', '-Xmx2048m']
}
}