openwhisk-runtime-java
openwhisk-runtime-java copied to clipboard
about custom jre
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!!!
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.
Thx, I'll have a try!