alpine image security updates/upgrades
See original GitHub issueHi,
we started to store images in Harbor in our company internally (because k8s clusters do not have externall network access). And one of Harbor functionalities is, that it scans vulnerabilities. In case of apicurio-registry-kafkasql 2.0.1.Final docker image it means this:
All vulnerabilities are fixed in further updates of Alpine distro, but the image used for apicurio-registry images seems to be discontinued for a few months.
So I wanted to ask few questions about it:
- Is there a high chance that we can break something running
apk upgrade
in the image? I mean, do you preserve this specific image for a specific reason? - Is there a chance that you can add
apk upgrade
to the image packaging process?
Thank you, Peter
Issue Analytics
- State:
- Created 2 years ago
- Comments:5 (3 by maintainers)
Top Results From Across the Web
Should we install package updates for Alpine base image in ...
Yes. apk -U upgrade will indeed update the package index and upgrade to the latest packages. The reason that nothing is installed is...
Read more >Upgrading Alpine - Alpine Linux Wiki
This page covers upgrading to newer releases. Doing regular security updates with the package manager is shown at Upgrading a running system ...
Read more >Take actions to improve security in your Docker images - Snyk
Developers can take action to upgrade their Docker images. Automating the process of scanning for newer or better base images and alerting to ......
Read more >How to see what packages updates available on Alpine Linux
On Debian or Ubuntu Linux, one can run ' apt list --upgradable ' command to see and list available package updates.
Read more >The worst so-called “best practice” for Docker - Python⇒Speed
Bad argument #1: You can't upgrade inside an unprivileged container · Bad argument #2: The maintainers of the base image should install security...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Hi @riprasad, it seems, that image for 2.0.1.Final in dockerhub is still on alpine - even if I see update from yesterday, if I run the image, I see:
The size corresponds to alpine as well (cca 160MB comparing to UBI with cca 250MB).
So I tried latest-snapshot image and it shows RedHat:
I pushed this latest snapshot to our Harbor and it has 0 critical and only 6 High severity issues ( comparing to 1+23 in that older Alpine):
From my point of view, it is good 😃 At least in the latest-snapshot. For 2.0.1.Final we are okay with the older Alpine, as we know, that the image for next versions will be more secure.
Thank you for your time, Peter
@petolexa We have upgraded the images for
2.0.1.Final
. Could you store the latest image in Harbour and check the vulnerability severity. I would be particularly interested in knowing what Harbour has to report for these new images.