docker-alpine icon indicating copy to clipboard operation
docker-alpine copied to clipboard

Always upgrade packages

Open matthewvalimaki opened this issue 8 years ago • 5 comments

I recommend apk upgrade --update to be executed on every image. For example libcrypto, libssl and bind are out of date. While security is responsibility of user providing latest (at the time of build at least) would be good practice.

Also vaguely related: "Clair is an open source project for the static analysis of vulnerabilities in appc and docker containers." https://github.com/coreos/clair/issues/12.

matthewvalimaki avatar Apr 08 '16 14:04 matthewvalimaki

Good idea! Where do you see we'll add this? At the top of the first RUN statement?

smebberson avatar Apr 11 '16 02:04 smebberson

@smebberson first run sounds right place to me. On all images of course. On Apr 10, 2016 7:34 PM, "Scott Mebberson" [email protected] wrote:

Good idea! Where do you see we'll add this? At the top of the first RUN statement?

— You are receiving this because you authored the thread. Reply to this email directly or view it on GitHub https://github.com/smebberson/docker-alpine/issues/39#issuecomment-208128459

matthewvalimaki avatar Apr 11 '16 02:04 matthewvalimaki

@matthewvalimaki, damn, I missed this in my recent updates. I should have added it in while I was there. Do you think a minor or patch release is okay for this addition?

smebberson avatar Jun 09 '16 23:06 smebberson

@smebberson I think it's fine if you just push apk --update upgrade to master and they'll be in images whenever you just make a new release.

matthewvalimaki avatar Jul 13 '16 21:07 matthewvalimaki

@matthewvalimaki, I've made a bunch of progress on this. All of the new images have this, you can see the CHANGELOG for notes accordingly. I'll keep this open for now.

smebberson avatar Oct 30 '16 01:10 smebberson