3 ms·
where does the apt update connect to? If it is an up to date package repo you get fixes. Howerer there are lots of reasons it would not. You better know if this
by bluGill 7mo ago
where does the apt update connect to? If it is an up to date package repo you get fixes. Howerer there are lots of reasons it would not. You better know if this is your plan.
- lloeki 7mo agoYeah that's yet another annoying thing to consider Also I'm tired of doing these hacks: # increase to bust cache entry RUN true 42 && apt update Pinning to a snapshot just makes so many things easier.
- foresto 7mo agoYou get fixes that were current at docker build time, but I think GP is referring to fixes that appear in the apt repo after your docker container is deployed. If you've pulled in a dependency from outside the base image, there will be no new base image version to alert you to an update of that external dependency. Unless your container regularly runs something like apt update && apt list --upgradable, you will be unaware of security fixes newly available from apt.