Skip to content

Commit

Permalink
Use debug image and expose JMX port to enable remote JVM debugging
Browse files Browse the repository at this point in the history
  • Loading branch information
wojtekbauman committed Sep 14, 2020
1 parent 93edece commit 4ba368d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ tasks.withType<Test> {

jib {
from {
image = "gcr.io/distroless/java:11"
image = "gcr.io/distroless/java:11-debug"
}
to {
image = "dietmap/yaak"
Expand All @@ -86,6 +86,6 @@ jib {
)
jvmFlags = listOf("-Xms512m", "-Djava.awt.headless=true")
mainClass = "com.dietmap.yaak.YaakApplicationKt"
ports = listOf("8080")
ports = listOf("8080", "9090")
}
}

0 comments on commit 4ba368d

Please sign in to comment.