-
-
Notifications
You must be signed in to change notification settings - Fork 162
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
improve entrypoint #60
Labels
enhancement
New feature or request
Milestone
Comments
related: #48 |
@namloc2001 want to have a stab at this too? |
2 tasks
Closed
2 tasks
comment deleted - because I did not read docker-entrypoint.sh thoroughly |
Seems there's also a regression, when nginx root dir was moved from /app to /opt/owasp/dependency-track-frontend but docker-compose was not updated. d12ddfa#diff-6e3cd4368541f4b438a0ce9dfe5b45e3a04426f80b43546092e76f088bd2e8dc |
muellerst-hg
added a commit
to muellerst-hg/dtrack-frontend
that referenced
this issue
Jun 1, 2023
Fixes DependencyTrack#60 Signed-off-by: Steffen Mueller <[email protected]>
2 tasks
nscuro
added a commit
to nscuro/dependency-track-frontend
that referenced
this issue
Oct 23, 2023
Additionally, modify the `config.json` file in place when populating it from environment variables, instead of using a temporary file. The populated config will be logged by the entrypoint script. Fixes DependencyTrack#60 Co-authored-by: Steffen Mueller <[email protected]> Signed-off-by: nscuro <[email protected]>
2 tasks
nscuro
added a commit
to nscuro/dependency-track-frontend
that referenced
this issue
Oct 23, 2023
Additionally, modify the `config.json` file in place when populating it from environment variables, instead of using a temporary file. The populated config will be logged by the entrypoint script. Fixes DependencyTrack#60 Co-authored-by: Steffen Mueller <[email protected]> Signed-off-by: nscuro <[email protected]>
2 tasks
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Current Behavior:
https://github.com/DependencyTrack/frontend/blob/master/docker/docker-entrypoint.sh#L6
checks for a mount, this does work well with configmaps in kubernetes. Configmaps is seen as a good practice.
Proposed Behavior:
could it instead simply check that the file exists, and if it does, ignore it. Also note that in case of configmaps it is not a ordinary file, but rather a symlink:
The text was updated successfully, but these errors were encountered: