-
Notifications
You must be signed in to change notification settings - Fork 1.6k
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
Simpler nginx dockerfile #11181
base: dev
Are you sure you want to change the base?
Simpler nginx dockerfile #11181
Conversation
DryRun Security SummaryThe pull request focuses on improving the build process and dependency management for the DefectDojo application's Docker images, including simplifying the Node.js and Yarn installation, optimizing the static file generation, and streamlining the Python dependency installation. Expand for full summarySummary: The code changes in this pull request are focused on improving the build process and dependency management for the DefectDojo application's nginx-alpine and nginx-debian Docker images. The key changes include:
From an application security perspective, these changes appear to be reasonable and do not introduce any obvious security concerns. However, it's important to regularly review the following aspects to maintain the application's security posture:
Files Changed:
Code AnalysisWe ran Riskiness🟢 Risk threshold not exceeded. |
c608372
to
fe044bb
Compare
fe044bb
to
066a200
Compare
Instead of complex node installation on top of the build base image, this uses separate stage just for yarn and then collectstatic copies the components from it.
I've pinned the same node and yarn versions that were used - but it can always use just
node:20.11
to pick up on latest patchesNOTE I've opened another PR with an alternative that I believe to be even better but a bigger change - #11182