diff --git a/generators/spring-boot/templates/build.gradle.ejs b/generators/spring-boot/templates/build.gradle.ejs index 8f4a60eb9844..fb4fafee4e0a 100644 --- a/generators/spring-boot/templates/build.gradle.ejs +++ b/generators/spring-boot/templates/build.gradle.ejs @@ -266,11 +266,11 @@ task cleanResources(type: Delete) { bootBuildImage { builder = "paketobuildpacks/builder-jammy-buildpackless-tiny" - buildpacks = ["paketobuildpacks/java"] - tags = [ - "<%- lowercaseBaseName %>" + buildpacks = [ + "paketobuildpacks/java", "paketobuildpacks/health-checker" ] + tags = ["<%- lowercaseBaseName %>"] environment = [ "BPL_SPRING_AOT_ENABLED" : "true", "BP_JVM_CDS_ENABLED" : "false",