From e7baeb7df75d0bfdaaa39fb7b95de6880883cf00 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Horv=C3=A1th=20Istv=C3=A1n?= Date: Tue, 10 Dec 2024 16:22:29 +0100 Subject: [PATCH] Use Adoptium buildpack --- backend/build.gradle.kts | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/backend/build.gradle.kts b/backend/build.gradle.kts index cb1d51ae..7c9bc5bc 100644 --- a/backend/build.gradle.kts +++ b/backend/build.gradle.kts @@ -89,11 +89,13 @@ tasks.withType { } tasks.getByName("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" ) }