Skip to content

Commit cae9873

Browse files
authored
Add missing option to env var server script has (#1332)
1 parent 519a630 commit cae9873

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

package/src/main/docker/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ LABEL maintainer="Arcade Data LTD (info@arcadedb.com)"
2121

2222
ENV JAVA_OPTS=" "
2323

24-
ENV JAVA_OPTS_SCRIPT="--add-opens java.base/java.io=ALL-UNNAMED -Dpolyglot.engine.WarnInterpreterOnly=false -Djna.nosys=true -XX:+HeapDumpOnOutOfMemoryError -Djava.awt.headless=true -Dfile.encoding=UTF8"
24+
ENV JAVA_OPTS_SCRIPT="--add-opens java.base/java.io=ALL-UNNAMED --add-exports java.management/sun.management=ALL-UNNAMED -Dpolyglot.engine.WarnInterpreterOnly=false -Djna.nosys=true -XX:+HeapDumpOnOutOfMemoryError -Djava.awt.headless=true -Dfile.encoding=UTF8"
2525

2626
ENV ARCADEDB_OPTS_MEMORY="-Xms2G -Xmx2G"
2727

package/src/main/docker/Dockerfile-multi

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ LABEL maintainer="Arcade Data LTD (info@arcadedb.com)"
2727

2828
ENV JAVA_OPTS=" "
2929

30-
ENV JAVA_OPTS_SCRIPT="--add-opens java.base/java.io=ALL-UNNAMED -Dpolyglot.engine.WarnInterpreterOnly=false -Djna.nosys=true -XX:+HeapDumpOnOutOfMemoryError -Djava.awt.headless=true -Dfile.encoding=UTF8"
30+
ENV JAVA_OPTS_SCRIPT="--add-opens java.base/java.io=ALL-UNNAMED --add-exports java.management/sun.management=ALL-UNNAMED -Dpolyglot.engine.WarnInterpreterOnly=false -Djna.nosys=true -XX:+HeapDumpOnOutOfMemoryError -Djava.awt.headless=true -Dfile.encoding=UTF8"
3131

3232
ENV ARCADEDB_OPTS_MEMORY="-Xms2G -Xmx2G"
3333

0 commit comments

Comments
 (0)