-
Notifications
You must be signed in to change notification settings - Fork 9
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
Bind-mount data dir and proxy support #1
Comments
Currently neither of the two is supported, but I think they are useful features which I would like to add. Especially the proxy is probably a must-have in many environments. I do not yet know when I find the time to implement these. But they are definitely on my to do list. And of course pull requests are welcome. Regarding the proxy config: If you do not mind building the Docker image on your own, you can just drop the proxy config into the dependencyCheck configuration block and build the Docker image. This is the configuration for the regular CVE DB update job. |
@davidkarlsen You can use the mount point I will update the documentation soon. I will also add the VOLUME instruction in the Dockerfile as you proposed. |
@stefanneuhaus Actually I think it is already inherited from the parent image (if it declares a VOLUME): moby/moby#3465 |
It would be cool to just pass in HTTP_PROXY and HTTPS_PROXY variable from the host system. You see any chance to integrate that generically that it works with and without? |
Hello, this is not possible OOTB. Because of some reasons, most important is the password for updating the database. This changes from container release to next container release. I changed the thinks to handle this and created a pull request: This also fix this topic. But Stefan need to check and aprove. |
This is not possible to make this happen at container. But you can take care for this during start ...
The HTTP_PROXY environment variable at container will be set to the value of $HTTP_PROXY from host system. I didn't check this explicitly, but thats the way it works usually. |
Nobody take care for the pull request and I need to update my fork of this project. So the Pull-Request is removed. If someone want to enhance
you can tell me and I will create a new pull request. |
Do you support keeping the database-state as a bindmount/volume-mount (should maybe be signaled as a VOLUME in the Dockerfile?)
Also do you support reading proxy-settings for retrieving the updates?
The text was updated successfully, but these errors were encountered: