-
Notifications
You must be signed in to change notification settings - Fork 620
Change java options of socks shop #16
Comments
We can't use variables inside the ENTRYPOINT declaration of the Dockerfile. Would you like to have a try at a PR for this? |
Hi @stefanodoni, https://github.com/microservices-demo/orders/blob/master/docker/orders/Dockerfile#L6 But longer term, yes, a PR with support for JAVA_OPTS as an env var would be more flexible. |
Hi Phil, What's the best way to include support for JAVA_OPTS? A quick & dirty approach I have used is through a custom script that then ENTRYPOINT ["/opt/dacapo/java.sh", "-jar", $ cat java.sh java I'm not sure if there are better ways to achieve this? Thanks On 2 November 2016 at 13:25, Phil Winder [email protected] wrote:
Stefano Doni Moviri SpA |
Actually @philwinder, this now makes me think we should create a common base image that does this for all of the Java based containers. Also, the standard Spring |
This issue has been fixed and all the java based services can now be configured using the JAVA_OPTS environment variable. |
Hi,
Would it be possible to change the java options for the java-based microservices?
I would like to experiment with the various memory settings (i.e. -Xmx etc.).
Thank you!
The text was updated successfully, but these errors were encountered: