Skip to content

Commit

Permalink
Use Adoptium buildpack
Browse files Browse the repository at this point in the history
  • Loading branch information
Isti01 committed Dec 10, 2024
1 parent d4324b8 commit e7baeb7
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion backend/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -89,11 +89,13 @@ tasks.withType<KotlinCompile> {
}

tasks.getByName<org.springframework.boot.gradle.tasks.bundling.BootBuildImage>("bootBuildImage") {
builder = "paketobuildpacks/builder-jammy-tiny"
buildpacks = listOf("gcr.io/paketo-buildpacks/adoptium", "urn:cnb:builder:paketo-buildpacks/java")
builder = "paketobuildpacks/builder-noble-java-tiny"
environment = mapOf(
"BP_NATIVE_IMAGE" to "false",
"CDS_TRAINING_JAVA_TOOL_OPTIONS" to "-Dspring.profiles.include=prewarm",
"BP_JVM_CDS_ENABLED" to "true",
"BPL_JVM_CDS_ENABLED" to "true",
"BPL_JVM_THREAD_COUNT" to "25"
)
}
Expand Down

0 comments on commit e7baeb7

Please sign in to comment.