Files
moby/daemon/builder
Paweł Gronowski 4f4e6c2e48 builder: Use base image platform for cache lookup
The classic builder used the global build platform when probing its
image cache.

A per-stage FROM --platform could therefore probe with the host
architecture and reject cached layers built from a foreign-architecture
base image.

Read the platform directly from the loaded base image for cache probes.

Signed-off-by: Paweł Gronowski <pawel.gronowski@docker.com>
2026-08-28 15:56:13 +02:00
..
2026-01-24 17:16:05 +01:00