-
Notifications
You must be signed in to change notification settings - Fork 8.3k
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
Final docker image should not include debug-like package #4381
Comments
👍 as we have the same requirements. In addition can I have information if |
After checking security scan made for this version it looks like there are more problems which could be also easy fixed, except glibc one for which it looks like there is no fix for now: |
For those subscribed in this PR: I am removing gdb in the next update of the nginx image in this PR #4509
|
This could be removed but when you are running the ingress controller you cannot install packages and several users requested this package in the past. This package will not be removed.
Removing gdb removes several packages
I will check if those two can be removed |
removed
This package is not present in the image but it is installed (at some point) to build the nginx image. Adding https://github.com/kubernetes/ingress-nginx/pull/4509/files#diff-4a5113d28634e29f2ab0bca34da7a3e5R547 we now remove all those configuration files left after the removal
|
Closing. Fixed in #4509. The new image is already available in quay, where we can see the improvement https://quay.io/repository/kubernetes-ingress-controller/nginx?tab=tags |
@aledbf you are referring to image |
@dawidmalina after we close the pending items in https://github.com/kubernetes/ingress-nginx/projects/33 , at least two weeks. |
FEATURE REQUEST
The final docker image should not include packages such as
gdb
, which also happen to bear a CVE that is not getting fixed and unfortunately reported as HIGH.Maybe an approach a la multi-stage build should be taken?
NGINX Ingress controller version:
0.25.0
What happened:
The docker image does not pass security checks due to embedded "debug" type packages installed.
What you expected to happen:
The docker image should only contain the necessary packages to deliver its functionality.
The text was updated successfully, but these errors were encountered: