Why is image size important? Should we instead optimise for speed of build?
If storage is cheap. And CPU costs Co2 does it make sense to spend longer time and more energy to save disk space?
If storage is cheap. And CPU costs Co2 does it make sense to spend longer time and more energy to save disk space?
That's one of the major rationales behind the distroless images. Being space optimized is just a really nice side effect.
By the way, the article proposes blind download of artifacts from someplace on the internet, on every build. Not only that can cripple your builds when the source is down (which happens all the time), it can (and that has happened) send you arbitrary infected crap instead of what you wanted.
Cold start times I'd imagine