4. Squash Docker image layers? This approach requires additional tool 
(https://github.com/jwilder/docker-squash requires sudo) and understanding of 
what layers to squash and what layers to keep as is (for optimization of Docker 
image delivery - some base layers are taken from image vendor and are not 
changed, so I need to keep them to avoid re-delivering of the whole Docker 
image). I'm not sure about impact of squashing of Docker layers on Docker build 
cache and on the whole time required for building (if TAR checksum didn't 
change then rebuilding of Docker image is faster due to Docker build cache).



---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to