docker-lambda
docker-lambda copied to clipboard
How to pass system properties such as -Djavax.net.ssl.keyStore to docker lambda:java8
@dotekien I managed to do this. It's relatively easy.
You create your own docker file extending 'lambci/lambda:java8' image and the specify the following line, 'ENTRYPOINT java -Dyour.java.option -jar /var/runtime/lib/LambdaJavaRTEntry-1.0.jar'
as demonstrated in the following link :
https://github.com/lambci/docker-lambda/blob/master/java8/run/Dockerfile
Nonetheless, I now have more difficult issue. How would you supply 'java options' to your Lambda handler executed by 'LambdaJavaRTEntry-1.0.jar'? 'LambdaJavaRTEntry-1.0.jar' can get java options as shown in my example. How can I pass them to my handler?