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

about custom jre #127

Open
liusy58 opened this issue Aug 24, 2021 · 2 comments
Open

about custom jre #127

liusy58 opened this issue Aug 24, 2021 · 2 comments

Comments

@liusy58
Copy link

liusy58 commented Aug 24, 2021

Hi, sir, I wonder if there is a way to use my customed JRE on openwhisk? That's to say, I build the openjdk locally, how can I use this openjdk on openwhisk?

Thx a lot!!!

@dgrove-oss
Copy link
Member

dgrove-oss commented Aug 25, 2021

You would need to build a docker image that included your custom build JRE. Should be possible by editing https://github.com/apache/openwhisk-runtime-java/blob/master/core/java8/Dockerfile, building the image, and then changing the image information in runtimes.json (https://github.com/apache/openwhisk/blob/master/ansible/files/runtimes.json#L137-L140) to use your custom image.

@liusy58
Copy link
Author

liusy58 commented Aug 25, 2021

Thx, I'll have a try!

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

2 participants