3 ms·
you append it to the end of the docker file so that the previous image is still valid with its cached build steps
by zmmmmm 1y ago
you append it to the end of the docker file so that the previous image is still valid with its cached build steps
- lmm 1y agoAnd just keep accreting new layers indefinitely?
- jselysianeagle 1y agoDocker re-uses layers as needed and can detect when a new layer needs to be added. It's not like images grow in size without bound each time something is changed in the Dockerfile.