29 lines
609 B
Groovy
29 lines
609 B
Groovy
jib.setAllowInsecureRegistries(true)
|
|
|
|
jib {
|
|
from {
|
|
image = "eclipse-temurin:17-jdk"
|
|
platforms {
|
|
platform {
|
|
architecture = "amd64"
|
|
os = "linux"
|
|
}
|
|
}
|
|
}
|
|
to {
|
|
image = "${BASE_IMAGE_REGISTRY_URL}/${project.name}"
|
|
tags = ["latest"]
|
|
}
|
|
container {
|
|
// entrypoint = ["INHERIT"]
|
|
creationTime = "USE_CURRENT_TIMESTAMP"
|
|
environment = [
|
|
"TZ": "Asia/Seoul",
|
|
]
|
|
jvmFlags = [
|
|
"--add-opens=java.base/java.time=ALL-UNNAMED"
|
|
]
|
|
}
|
|
|
|
}
|