Use Oracle Linux 7 base image
@@ -23,7 +23,12 @@ application {
mainClass = "io.micronaut.starter.netty.Application"
}
+tasks.named('dockerfileNative') {
+ baseImage("ghcr.io/graalvm/native-image:ol7-java11-22.1.0")
+}
+
tasks.named("dockerBuildNative") {
+
images = [project.hasProperty("dockerImageName") ? project.getProperty("dockerImageName") : "micronaut-starter"]
}
