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

Submission : Java17 template #151

Open
Fabrizzz opened this issue Feb 22, 2023 · 0 comments
Open

Submission : Java17 template #151

Fabrizzz opened this issue Feb 22, 2023 · 0 comments

Comments

@Fabrizzz
Copy link

Fabrizzz commented Feb 22, 2023

Hello,
I am currently working on a personal project using OpenFaas with Java function and since Java 17 is now the latest LTS version, i tried to make minimal changes to the original Java template to upgrade it from JDK 11 to JDK 17.
Since OpenJdk images are now deprecated on Docker Hub, i upgraded the image to open source Eclipse Temurin 17 (based on Alpine instead of Debian), and also updated the version of Gradle to 8.0 (the latest). I also had to make a few changes to function/build.gradle since a few of the commands were deprecated and have been upgraded.
I also tested it locally and it seems to work fine, so I thought to post it here in case it could be useful to anybody using Java.
Here is the link to my repository

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