2 ms·
>I still have teams starting Dockerfiles with "FROM centos:latest" because that's just the mindset they have: "Latest will fix any problems" rather than "Latest
by btreecat 10y ago
>I still have teams starting Dockerfiles with "FROM centos:latest" because that's just the mindset they have: "Latest will fix any problems" rather than "Latest will introduce new problems".
Well there are two ways to approach this IMO.
One be proactive. Create them a vetted centos or whatever OS environment for them to base off.
The problem is, if you don't keep on top of it as a sysadmin, the developers will just figure out another way to wall you off.
Alternatively, accept that it doesn't matter what underlying OS they use, because a patched OS >> than unpatched and that when done correctly there is minimal exposure even when the service has an exploitable lib due to the jailed nature of containers.
Assuming "latest introduces new problems" too often builds an aversion to patching which can lead to worse issues down the road.
>And, ultimately, Docker lets that not be my problem, because they have to deal with it when the next leftpad happens. So, yeah: they should have at it.
Exactly! The only one responsible for libs are the parties directly leveraging them. Not that developers shouldn't make that info known. It has to be documented to remove the bus-factor of 1, and if it isn't the sysadmins should work with the devs to get it documented.
> I guess I still think there's something to be said for the cathedral pace, though.
I think it depends a lot on your resources as a department/company. You should always execute as quickly as feasible given your team size and work load. Otherwise technical debt has a way of piling up faster than you can offload it.