Skip to content

[8.19] Fix Docker build to use --load for single-platform images (#140402)#140439

Merged
breskeby merged 2 commits intoelastic:8.19from
breskeby:backport/8.19/pr-140402
Jan 13, 2026
Merged

[8.19] Fix Docker build to use --load for single-platform images (#140402)#140439
breskeby merged 2 commits intoelastic:8.19from
breskeby:backport/8.19/pr-140402

Conversation

@breskeby
Copy link
Contributor

@breskeby breskeby commented Jan 9, 2026

Backports the following commits to 8.19:

…0402)

Add --load flag to single-platform Docker builds to ensure images are
loaded into the local Docker daemon as regular images rather than
manifest lists.

This fixes an issue with Docker 23.0+ where BuildKit-enabled builds
can create manifest lists even for single-platform builds, which breaks
the docker manifest create command that expects single-platform images
as input when creating multi-arch manifests.

The --load flag forces the built image to be loaded into the local
Docker image store, preventing it from being stored as a manifest list.
@breskeby breskeby added :Delivery/Build Build or test infrastructure >non-issue auto-merge-without-approval Automatically merge pull request when CI checks pass (NB doesn't wait for reviews!) backport Team:Delivery Meta label for Delivery team labels Jan 9, 2026
@breskeby breskeby merged commit 1d6670e into elastic:8.19 Jan 13, 2026
26 of 30 checks passed
@breskeby breskeby deleted the backport/8.19/pr-140402 branch January 13, 2026 11:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

auto-merge-without-approval Automatically merge pull request when CI checks pass (NB doesn't wait for reviews!) backport :Delivery/Build Build or test infrastructure >non-issue Team:Delivery Meta label for Delivery team v8.19.11

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants

Comments