Ship It! Cloud, SRE, Platform Engineering cover image

Containers on a diet

Ship It! Cloud, SRE, Platform Engineering

NOTE

Optimizing Docker builds with multi-stage and distroless images

Using multi-stage builds helps developers optimize Docker images by building in one stage and copying only necessary components to the release stage. However, developers often make the mistake of copying the entire application folder, including unnecessary files, leading to bloated images. To address this issue, distroless images offer a middle ground between slimming down fat images and having dependencies in a minimal release stage image.

00:00
Transcript
Play full episode

Remember Everything You Learn from Podcasts

Save insights instantly, chat with episodes, and build lasting knowledge - all powered by AI.
App store bannerPlay store banner