1

i've read that is possible to change default buildpack Liberica Jdk with another one, but i can't find any example or documentation about this. Can someone help me, thanks

user1066888
  • 136
  • 1
  • 11

1 Answers1

0

SOLUTION:

Use spring-boot-2.5.x (not in GA right now) and buildpacks configuration feature to customize buildpacks

user1066888
  • 136
  • 1
  • 11
  • More background on how this works: https://paketo.io/docs/buildpacks/language-family-buildpacks/java/#using-alternative-jvms (explains how to do this with `pack` but works the same for Maven config in Spring Boot 2.5+). Spring Boot 2.5 preview docs: https://docs.spring.io/spring-boot/docs/2.5.0-SNAPSHOT/maven-plugin/reference/htmlsingle/#build-image-customization – Daniel Mikusa May 19 '21 at 03:01