-
Notifications
You must be signed in to change notification settings - Fork 583
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
Spring Cloud Dataflow Docker Image with JDK 21 #5487
Comments
This can only be completed when Paketo Buildpacks support for Java 21 is released. |
According to https://paketo.io/docs/howto/java/ Java 21 has been added "immediately": JVM Default Version |
It has been add but isn't part default build. We need to override the versions of buildpacks used in order to build a container with Java 21. |
Ok, so does this mean you will be able to add JDK 21 images soon? If yes, when do you think can we expect JDK 21 images? |
It will propably be with 2.11.1. Creating your own requires the following steps:
When it is built, push to your private registry and reference your private registry from deployment scripts. |
Thank you! I always wondered how I could build my own images EDIT: It worked like a charm <3 |
We now have packeto images for JDK 21 |
@todorinskiz We usually just use JDKS="8 11 17"
for v in $JDKS; do
pack build \
--path "target/spring-cloud-dataflow-server-$VERSION.jar" \
--builder gcr.io/paketo-buildpacks/builder:base \
--env BP_JVM_VERSION=$v \
--env BPE_APPEND_JDK_JAVA_OPTIONS=-Dfile.encoding=UTF-8 \
--env BPE_APPEND_JDK_JAVA_OPTIONS=-Dsun.jnu.encoding \
--env BPE_LC_ALL=en_US.utf8 \
--env BPE_LANG=en_US.utf8 \
"springcloud/spring-cloud-dataflow-server:$VERSION-jdk$v"
done Adding "21" to the list fails with:
|
Problem description:
There is no JDK 21 image for Spring Cloud Dataflow (https://hub.docker.com/r/springcloud/spring-cloud-dataflow-server)
Solution description:
Please provide one.
Additional context:
I didn't know where else to issue this request.
The text was updated successfully, but these errors were encountered: