mirror of
https://github.com/DSpace/DSpace.git
synced 2025-10-18 07:23:08 +00:00
Merge pull request #10031 from saschaszott/patch-53
Allow remote debugging (replacing CATALINA_OPTS with JAVA_TOOL_OPTIONS)
This commit is contained in:
@@ -68,7 +68,7 @@ RUN apt-get update \
|
|||||||
EXPOSE 8080 8000
|
EXPOSE 8080 8000
|
||||||
# Give java extra memory (2GB)
|
# Give java extra memory (2GB)
|
||||||
ENV JAVA_OPTS=-Xmx2000m
|
ENV JAVA_OPTS=-Xmx2000m
|
||||||
# Set up debugging
|
# enable JVM debugging via JDWP
|
||||||
ENV CATALINA_OPTS=-Xrunjdwp:transport=dt_socket,server=y,suspend=n,address=*:8000
|
ENV JAVA_TOOL_OPTIONS=-agentlib:jdwp=transport=dt_socket,server=y,suspend=n,address=*:8000
|
||||||
# On startup, run DSpace Runnable JAR
|
# On startup, run DSpace Runnable JAR
|
||||||
ENTRYPOINT ["java", "-jar", "webapps/server-boot.jar", "--dspace.dir=$DSPACE_INSTALL"]
|
ENTRYPOINT ["java", "-jar", "webapps/server-boot.jar", "--dspace.dir=$DSPACE_INSTALL"]
|
||||||
|
Reference in New Issue
Block a user