Skip to content

Commit

Permalink
Update Java parameters in devcontainer Dockerfile
Browse files Browse the repository at this point in the history
  • Loading branch information
wolfgangmm committed May 4, 2022
1 parent 3ce4f77 commit 6aaf3c0
Showing 1 changed file with 11 additions and 1 deletion.
12 changes: 11 additions & 1 deletion .devcontainer/Dockerfile.dev
Original file line number Diff line number Diff line change
Expand Up @@ -69,5 +69,15 @@ RUN bin/client.sh -l --no-gui --xpath "system:get-version()"
EXPOSE ${HTTP_PORT} 8001

ENV EXIST_HOME=/usr/local/exist
ENV JAVA_OPTS=-Djetty.port=${HTTP_PORT} -Djetty.ssl.port=${HTTPS_PORT}
ENV JAVA_OPTS \
-Djetty.port=${HTTP_PORT} \
-Djetty.ssl.port=${HTTPS_PORT} \
-Dfile.encoding=UTF8 \
-Dsun.jnu.encoding=UTF-8 \
-XX:+UseG1GC \
-XX:+UseStringDeduplication \
-XX:+UseContainerSupport \
-XX:MaxRAMPercentage=${JVM_MAX_RAM_PERCENTAGE:-75.0} \
-XX:+ExitOnOutOfMemoryError

ENTRYPOINT [ "/usr/local/exist/bin/startup.sh" ]

0 comments on commit 6aaf3c0

Please sign in to comment.