jeremylong / Open-Vulnerability-Project

Java libraries for working with available vulnerability data sources (GitHub Security Advisories, NVD, EPSS, CISA Known Exploited Vulnerabilities, etc.)
Apache License 2.0
107 stars 30 forks source link

Rework and polish docker image #140

Closed EugenMayer closed 4 months ago

EugenMayer commented 4 months ago

Rework different aspects of the docker image

  1. Add flags as ENV to enable debug, set maxRetries, or max records per page ( more https://github.com/EugenMayer/helm-charts/blob/main/charts/vulnz-nvd-mirror/values.yaml#L44 )
  2. Use jdk17 (not 11)
  3. Fix cron setup and logging
  4. Fix supervisor setup using wrong configuration (supervisorctl was unusable without flags)
  5. Polish supervisor configuration
  6. ensure proper group memberships
  7. Better startup logging

Changes should be squashed on merge