Scratch Image - CI/CD Glossary Definition
The scratch image is an empty base image (FROM scratch) containing nothing at all. It is used to build minimal images for statically linked binaries that need no OS layer.
The scratch image is an empty base image (FROM scratch) containing nothing at all. It is used to build minimal images for statically linked binaries that need no OS layer.
The scratch image is an empty base image (FROM scratch) containing nothing at all. It is used to build minimal images for statically linked binaries that need no OS layer.
Typical use
Go and Rust binaries compiled statically are commonly shipped FROM scratch, producing images just a few megabytes in size.
Related guides
Distroless Image - CI/CD Glossary DefinitionDistroless Image: A distroless image contains only the application and its runtime dependencies, with no shel…
Base Image - CI/CD Glossary DefinitionBase Image: A base image is the starting image a Dockerfile builds on top of, named in the first `FROM` instr…
Multi-Stage Dockerfile - CI/CD Glossary DefinitionMulti-Stage Dockerfile: A multi-stage Dockerfile uses several `FROM` stages so build tooling stays in an earl…
Container Image - CI/CD Glossary DefinitionContainer Image: A container image is a read-only, layered package that bundles an application with its runti…