-
Notifications
You must be signed in to change notification settings - Fork 137
Update Dockerfile alpine packages for cve fixes #3973
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
Conversation
when running:
this is output:
showing the correctly updated packages are in the nginx image. when running:
Neither libexpat or tiff are installed. Meaning these packages are not in the nginx plus image and that image is not affected by these cves. |
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #3973 +/- ##
==========================================
- Coverage 86.80% 86.80% -0.01%
==========================================
Files 128 128
Lines 16607 16607
Branches 62 62
==========================================
- Hits 14416 14415 -1
- Misses 2007 2009 +2
+ Partials 184 183 -1 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
Apparently alpine will only keep the latest image for these dependencies https://dl-cdn.alpinelinux.org/alpine/v3.22/main/aarch64/. Meaning we cannot pin the version to 4.7.2-r0 since the dependency won't exist (you can see it doesn't exist, 4.7.3-r0 already came out). Doing a |
Update Dockerfile alpine packages libexpat and tiff to fix cves.
Update Dockerfile alpine packages libexpat and tiff to fix cves.
Verified NGINX Plus image does not contain libexpat or tiff alpine packages, and after these changes, the packages in the built docker image have the updated versions.