Re:Optimizing Docker image size and why it matters
by Ramiro on Thursday January 06, 2022 @06:52PM
(#29832467)
I think this something that people miss a lot when trying to optimize their Docker builds. Is the whole optimizing for most of your builds vs optimizing for a specific build. Not easy.
> Each layer in your image might have a leaner version that is sufficient for your needs.
when reusing a huge layer is cheaper than choosing a small layer that is not reused.