New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
mvn plugin build-image openj9 support #25561
Comments
@paulux84 spring-boot uses paketo buildpacks by default. In order to switch to
|
Closing as a duplicate of #21722. |
hi @eddumelendez, thanks for the reply, but in this way i must specify all the buildpacks instead i suggest a way to selective substitute dafault buildpacks |
p.s. if i use this configuration (spring-boot-strarter-parent:2.5.0-M2) i get ERROR: No buildpack groups passed detection...while using manual pack command all detectors pass |
That's been fixed in #25378. The change is available in 2.5.0-SNAPSHOT from https://repo.spring.io/snapshot and it'll be in next week's M3 release. |
This is consistent with the design of the The minimal configuration to override the choice of JVM provider with the Paketo builder would be this:
This puts the If you need more fine-grained control of the list of buildpacks that are involved and the order they are invoked without configuring it via the Spring Boot build plugin configuration, you should create a custom builder. |
Really thanks for your explanation. Now is more clear for me how spring boot handle build-image...now i must wait the final release and other libs support (ex. spring cloud) |
Can this feature also be implemented on the 2.4.x ? |
The minimal configuration caused an Invalid buildpack reference 'gcr.io/paketo-buildpacks/eclipse-openj9:latest' error in springboot 2.5.4 |
@Been24 The configuration using |
Actually build-image use as default
paketo-buildpacks/bellsoft-liberica:jre
but can be really cool thing adding possibility to chose witch jre buildpack to use (for examplepaketo-buildpacks/eclipse-openj9
)The text was updated successfully, but these errors were encountered: