Comments (3)
Part of the issue is that you're trying to get a deterministic build by fixing a version of Java, but not a version of the buildpack itself. If you'd pinned your builder image, rather than using the mutating tag (e.g. gcr.io/paketo-buildpacks/builder:base
vs. gcr.io/paketo-buildpacks/builder:0.0.389-base
), you wouldn't have experience this because the version of the Java buildpack would not change. In fact, I think you're much better served to pin the version of the buildpack and not the version of Java as the former is a strong guarantee that the images won't change (we add and change functionality in the buildpack after all).
I'll encourage the Boot team to change their documentation, to better match the buildpack's documentation 😉.
from bellsoft-liberica.
I actually read both documents, the spring boot one and the BP one. But I didn't grasp that BP_JVM_VERSION
must be a wildcard.
I saw on the logs of the build that the JDK is downloaded from here, so I thought older versions should work as well.
Anyways, I'll try to create PRs for the docs once I'm back from holidays.
Thanks for pointing out the builder image solution, I'll give it a try!
Sorry for keeping you busy with questions and issues @nebhale 🙈
from bellsoft-liberica.
@schnatterer Happy to help. It's pretty subtle.
from bellsoft-liberica.
Related Issues (20)
- When using jlink, we can't use --add-modules ALL-MODULE-PATH HOT 1
- github bellsoft-jre17.0.5+8-linux-amd64.tar.gz x509: certificate signed by unknown authority HOT 4
- Support JDK 20 HOT 1
- I'm waiting patiently for BP_JVM_VERSION of 20 :-) HOT 4
- gradle `bootBuildImage` fails due to paketo-buildpacks/bellsoft-liberica HOT 3
- No valid JRE available HOT 2
- Does remote debug support for bellsoft NIK? HOT 1
- Native memory tracking can't be disabled HOT 2
- The CI updater for Java 11 NIK is failing HOT 1
- Add support for `JDK_JAVA_OPTIONS` HOT 1
- Support for JVM-based apps using musl based JVM & the static stack HOT 5
- Get Error when trying to build an image from spring-boot's maven plugin in a java 21 project HOT 2
- can't download form download.bell-sw.com HOT 8
- Add Support for CRaC enabled JDK Distributions HOT 9
- Automatic Thread Count
- No builldpack.toml found in bellsoft-liberica 10.5.2 HOT 2
- Get Error when trying to build an image from a plain maven Java 21 project HOT 3
- Support JDK 22 HOT 9
- Go should be upgraded; currently using 1.20 which is EOL and has security issues HOT 2
- `Disables JVM DNS caching if link-local DNS is available` does not work HOT 6
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from bellsoft-liberica.