Skip to content

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

Merged
elasticsearchmachine merged 1 commit intoelastic:9.2from
breskeby:backport/9.2/pr-140402
Jan 9, 2026
Merged

[9.2] Fix Docker build to use --load for single-platform images (#140402)#140440
elasticsearchmachine merged 1 commit intoelastic:9.2from
breskeby:backport/9.2/pr-140402

Conversation

@breskeby
Copy link
Contributor

@breskeby breskeby commented Jan 9, 2026

Backports the following commits to 9.2:

…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 requested a review from a team as a code owner January 9, 2026 10:30
@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
@elasticsearchmachine elasticsearchmachine merged commit cae6caf into elastic:9.2 Jan 9, 2026
36 checks passed
@breskeby breskeby deleted the backport/9.2/pr-140402 branch January 9, 2026 11:42
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 v9.2.5

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants