openwhisk-runtime-java icon indicating copy to clipboard operation
openwhisk-runtime-java copied to clipboard

about custom jre

Open liusy58 opened this issue 3 years ago • 2 comments

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!!!

liusy58 avatar Aug 24 '21 02:08 liusy58

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.

dgrove-oss avatar Aug 25 '21 00:08 dgrove-oss

Thx, I'll have a try!

liusy58 avatar Aug 25 '21 02:08 liusy58