ShoppingCrawler/jib.gradle

29 lines
609 B
Groovy
Raw Permalink Normal View History

2024-05-12 14:08:10 +00:00
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"
]
}
}