base image

The image a Dockerfile starts from with FROM, which supplies the operating system files and often a language runtime.

In more detail

Everything your Dockerfile adds is layered on top of it, so its contents, size and security updates become yours. Pinning it by digest keeps builds repeatable.

Examples

Rebuilding the same commit later can pick up a changed base image, one reason a rebuild counts as a different release.
FROM golang:alpine AS build
FROM eclipse-temurin:21-jre

Related terms

Related guides

Taught in

References

Certification courses