Skip to main content

‘Tis But a Scratch: Shrinking Container Images using FROM scratch


Original video by Gopher Academy:

Smaller container images improve security, speed up deployment, and lower container registry costs. Because Go compiles to a static binary, it can run in containers based on the `scratch` image. This eliminates the need to ship Linux as a dependency for your container. This Lightning Talk covers what the `scratch` image is and how to use it in multi-stage builds to ship leaner and more secure images.