News for hackers. Stuff that matters.
Re:Intro Guide to Dockerfile Best Practices by itamarst on Monday July 08, 2019 @08:21AM (#20382079)
This isn't really about "getting the latest version", it's about "getting the latest security patches for a stable version."

The presumption here is that you're running on a stable base image, Debian Stable or Ubuntu LTS or something. Updates to system packages are therefore basically focused on security fixes and severe bug fixes (data corruption in a database, say).

Even if you're pinning everything very specifically (and you probably should), you still want to at some point get these (severe-bugfix-only) updates on a regular basis for security and operational reasons.

Blind reliance on caching prevents this from happening.

Re:Intro Guide to Dockerfile Best Practices by geezerjay on Monday July 08, 2019 @11:12AM (#20383403)
> This isn't really about "getting the latest version", it's about "getting the latest security patches for a stable version."

Typically security patches trigger new releases with minor/patch version number bumps, which are then installed by getting the latest version of the package. That's pretty much the SOP of any linux distribution.