-
Notifications
You must be signed in to change notification settings - Fork 412
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
Find a lightweight and official image to import #259
Comments
Hey team, I'm currently doing some security testing with Snyk (same tool used to report #221 ). This is the output from our current image This is one of the high severity vulnerabilities on the image. Visiting that link we get this:
So according to But RedHat says otherwise. https://access.redhat.com/security/cve/cve-2009-5155
Let's check another one. This report again says Debian and Ubuntu are the only vulnerable. On the RedHat CVE Database says
Again, vulnerable. After this research I'm not sure about trusting Snyk as the only source of truth, we might spend a lot of man/hours moving away from the current image (or from Ubuntu) and end up in the blind, since Snyk is not reporting correctly. So this is one point to keep in mind. I'm tempted to say currently their CVE database is much more accurate for Debian/Ubuntu than for CentOS/RedHat. Regards. |
Another example: https://snyk.io/vuln/SNYK-LINUX-TAR-441202
|
Base images size comparisonCurrently testing 3 of the officially supported images on Docker Hub, adding our current base image for comparison. This is a report from MicroBadger, a site which periodically inspects images from Docker Hub and reports its size (gzipped) and number of layers.
Mind these official images would require some modifications to allow a multi-process container. |
Testing a few modifications on our current Dockerfile and changing the base images to Debian Buster, CentOS 7 and Ubuntu Bionic we're getting these final sizes.
|
After a few debates we're proposing CentOS 7 as our new base image due to its solid stability and long term support. Any comments would be appreciated. |
Any reason you didn't even gave Alpine a run? Unlike all of the above is by far more lightweight and faster to customize and also built with Docker in mind. |
Hi @thiscantbeserious, actually we thought about Alpine but this distro doesn't use the standard glibc like the rest (Alpine uses musl libc). This makes it unexplored territory for our core team (and packaging team as well) so we picked a distro with first class support instead. |
Description
In order to comply with #252 we need to find an alternative image to use as a base.
The right image is lightweight, functional and most importantly, secure.
Tasks
The text was updated successfully, but these errors were encountered: