Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add JAVA_OPTS environment variable #60

Open
flouou opened this issue Nov 3, 2020 · 0 comments
Open

Add JAVA_OPTS environment variable #60

flouou opened this issue Nov 3, 2020 · 0 comments

Comments

@flouou
Copy link

flouou commented Nov 3, 2020

Is your feature request related to a problem? Please describe.
I would like to add remote debugging java opts to the docker container, which need to go between "java" and "-jar" in the beginning of the startup command.

Describe the solution you'd like
I think a solution would be to add "JAVA_OPTS" to the environment variables and place it betweed "java" and "-jar" in the docker-entrypoint.sh

Describe alternatives you've considered
An alternative would be to use a custom entrypoint script, which I did not really get to work for me (container did not start, even with copied standard entrypoint script.

Additional context
I am using felixklauke/paperspigot:1.14.4

Example debug options: -agentlib:jdwp=transport=dt_socket,server=y,suspend=n,address=5005

If you have any other possible solutions on how to add debug options for remote debugging, please let me know!

ADeeeee added a commit to ADeeeee/paperspigot-docker that referenced this issue Feb 12, 2021
1. Fix the arguments in Dockerfile and docker-entrypint.sh
2. Add JAVA_OPTS due to issue felixklauke#60
3. Merge the get-pip.py due to issue felixklauke#66
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant