Skip to content
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

Java 21 Support #291

Open
nblomquist opened this issue Jan 6, 2025 · 1 comment
Open

Java 21 Support #291

nblomquist opened this issue Jan 6, 2025 · 1 comment

Comments

@nblomquist
Copy link

Is there any timeline for when Java 21 will be supported?
I tried locating the base docker files so that I could try to update them myself, but I had no luck.

I looked here, but the latest is Java8:
https://github.com/fnproject/dockers/tree/master/java

Thanks

@nblomquist
Copy link
Author

I was investigating this, and naive simple dockerfile for this is:

FROM eclipse-temurin:21-jre-ubi9-minimal
COPY --from=fnproject/fn-java-fdk:jre17-1.0-latest /function /function

ENTRYPOINT ["java", "-XX:-UsePerfData", "-XX:+UseSerialGC", "-Xshare:auto", "-Djava.awt.headless=true", "-Djava.library.path=/function/runtime/lib", "-cp", "/function/app/*:/function/runtime/*:/function/app:/function/app/resources",  "com.fnproject.fn.runtime.EntryPoint"]


Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant