variant ignored for linux/arm64

Open
#4,082 3 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
3/5
Estimated time
1-2 days
Newbie friendliness
38/100
Issue type
Bug
Clarity
Mostly clear
Activity status
Stale
Tech stack
docker, go
Domain
build-system

Research direction

Start by reproducing the buildctl command with linux/arm/v7 and linux/arm64/v8. Compare the logs, metadata paths, and multi-arch manifest entries for both platforms; done means the arm64/v8 variant is preserved consistently.

Written by the indexing model from the issue text.

Description

I built an image using buildctl with --opt platform=linux/arm/v7,linux/arm64/v8.

For linux/arm/v7, the variant is properly shown in the logs ("[linux/arm/v7]") and in the metadata file ("containerimage.buildinfo/linux/arm/v7"). It also shows up in the multi-arch manifest list (platform.variant).

However, for linux/arm64/v8, the variant appears to be completely ignored. The logs just show "[linux/arm64]" and the metadata file just has "containerimage.buildinfo/linux/arm64". It does not show up in the mulit-arch manifest list (platform.variant is not present).

I am using buildkit v0.11.6.

Dominant language
Go
Stars
10.3k
Forks
1.5k
Avg merge
1d 23h
Merged PRs (30d)
48

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from moby/buildkit

All issues in moby/buildkit

Similar issues

More Go issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.