Y
Hacker News
new
|
ask
|
show
|
jobs
by
zmmmmm
289 days ago
you append it to the end of the docker file so that the previous image is still valid with its cached build steps
1 comments
lmm
289 days ago
And just keep accreting new layers indefinitely?
link
jselysianeagle
287 days ago
Docker 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.
link