Skip to content

Pass platform to docker build#7993

Open
etan-status wants to merge 4 commits intounstablefrom
dev/etan/ci-ocifix
Open

Pass platform to docker build#7993
etan-status wants to merge 4 commits intounstablefrom
dev/etan/ci-ocifix

Conversation

@etan-status
Copy link
Contributor

On Raspberry Pi, getting "no matching manifest for linux/arm64/v8". Inspecting the image shows "linux/amd64" for platform. Passing the platform explicitly may fix the label. Args pulled from Dockerfile.bn.arm / amd64's FROM line

% docker buildx imagetools inspect statusim/nimbus-eth2:arm64-v26.2.0
Name:      docker.io/statusim/nimbus-eth2:arm64-v26.2.0
MediaType: application/vnd.oci.image.index.v1+json
Digest:    sha256:fba54e145337bb56dcd16c175828f918707debf501bd7a9facc7d48dc1f08dcb

Manifests:
  Name:        docker.io/statusim/nimbus-eth2:arm64-v26.2.0@sha256:7475774de4a8d5bbcce6e28de7689aac146b81ce8af3a5447b164fef7e1a5f60
  MediaType:   application/vnd.oci.image.manifest.v1+json
  Platform:    linux/amd64

  Name:        docker.io/statusim/nimbus-eth2:arm64-v26.2.0@sha256:86e5723b040a52a3a4588d93b515848dd94fa325733346b20e14978475590475
  MediaType:   application/vnd.oci.image.manifest.v1+json
  Platform:    unknown/unknown
  Annotations:
    vnd.docker.reference.type:   attestation-manifest
    vnd.docker.reference.digest: sha256:7475774de4a8d5bbcce6e28de7689aac146b81ce8af3a5447b164fef7e1a5f60

On Raspberry Pi, getting "no matching manifest for linux/arm64/v8".
Inspecting the image shows "linux/amd64" for platform.
Passing the platform explicitly may fix the label.
Args pulled from Dockerfile.bn.arm / amd64's FROM line

```
% docker buildx imagetools inspect statusim/nimbus-eth2:arm64-v26.2.0
Name:      docker.io/statusim/nimbus-eth2:arm64-v26.2.0
MediaType: application/vnd.oci.image.index.v1+json
Digest:    sha256:fba54e145337bb56dcd16c175828f918707debf501bd7a9facc7d48dc1f08dcb

Manifests:
  Name:        docker.io/statusim/nimbus-eth2:arm64-v26.2.0@sha256:7475774de4a8d5bbcce6e28de7689aac146b81ce8af3a5447b164fef7e1a5f60
  MediaType:   application/vnd.oci.image.manifest.v1+json
  Platform:    linux/amd64

  Name:        docker.io/statusim/nimbus-eth2:arm64-v26.2.0@sha256:86e5723b040a52a3a4588d93b515848dd94fa325733346b20e14978475590475
  MediaType:   application/vnd.oci.image.manifest.v1+json
  Platform:    unknown/unknown
  Annotations:
    vnd.docker.reference.type:   attestation-manifest
    vnd.docker.reference.digest: sha256:7475774de4a8d5bbcce6e28de7689aac146b81ce8af3a5447b164fef7e1a5f60
```
@tersec
Copy link
Contributor

tersec commented Feb 17, 2026

Going to do this separately, as a stable hotfix.

@tersec
Copy link
Contributor

tersec commented Feb 17, 2026

Also means it can't be a PR.

@github-actions
Copy link

github-actions bot commented Feb 18, 2026

Unit Test Results

       12 files  ±0    2 488 suites  ±0   48m 31s ⏱️ -19s
12 972 tests ±0  12 425 ✔️ ±0  547 💤 ±0  0 ±0 
65 588 runs  ±0  64 878 ✔️ ±0  710 💤 ±0  0 ±0 

Results for commit 6119d53. ± Comparison against base commit 2e451a4.

♻️ This comment has been updated with latest results.

@etan-status
Copy link
Contributor Author

image Also, can remove --platform from the Dockerfiles, probably. It shows warning in vscode.

@tersec
Copy link
Contributor

tersec commented Feb 18, 2026

Done in b3a3f3f

@tersec
Copy link
Contributor

tersec commented Feb 20, 2026

Merge conflict.

@tersec
Copy link
Contributor

tersec commented Feb 24, 2026

Updating to an unstable release incorporating

looks likely to fix the jenkins/nimbus-eth2/linux/x86_64/nix CI failure.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants