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

Docker: Add optional EXTRA_JAVA_OPTIONS environment variable #2040

Merged
merged 3 commits into from
Oct 13, 2022

Conversation

valentijnscholten
Copy link
Contributor

Sometimes it's useful to pass extra JVM options into the DT Java process.

While it is possible to override the JAVA_OPTIONS, this would mean the existing default value from Dockerfile has to be copied and maintained.

This PR adds a EXTRA_JAVA_OPTIONS environment variable that can be specified at runtime, while benefitting from the existing defaults in the Dockerfile.

@sonatype-lift
Copy link
Contributor

sonatype-lift bot commented Oct 12, 2022

⚠️ 14 God Classes were detected by Lift in this project. Visit the Lift web console for more details.

Signed-off-by: Valentijn Scholten <[email protected]>
@nscuro nscuro added the enhancement New feature or request label Oct 12, 2022
@nscuro nscuro added this to the 4.7 milestone Oct 12, 2022
@nscuro nscuro merged commit 9c0b078 into DependencyTrack:master Oct 13, 2022
@valentijnscholten valentijnscholten deleted the extra-java-options branch November 5, 2022 13:22
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Dec 6, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants