-
Notifications
You must be signed in to change notification settings - Fork 51
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
Trimming the size of the Docker image #243
Comments
Interestingly though, these changes:
Don't appear to make any difference to the image size 🤔 |
Oh actually, these are probably needed to i.e. |
The reason you're not seeing space savings is due to the way Docker layers work. But yes if you remove those tools then you're possibly breaking yourself if you need them |
Please prefer discussions in future unless you have a bug |
I was looking into some container scans against this image - raised by a vendor tool we use to scan all our images - and noticed that there were several findings for things like Go and Java, which I was surprised as I wouldn't expect Java to be installed in the image.
Digging into
whitesource/renovate:2.6.0
, I noticed that:It may be possible to trim this considerably to remove the CVEs raised by this, as well as drastically trim the size of the built image, if we were to remove some of the tools in there that we don't use?
The text was updated successfully, but these errors were encountered: