Skip to content

fix(Dockerfile): adds proper support for arm64(MacOs) when building i…#210

Merged
mananuf merged 1 commit intodevnet-4from
fix/arm64-docker-build
Apr 15, 2026
Merged

fix(Dockerfile): adds proper support for arm64(MacOs) when building i…#210
mananuf merged 1 commit intodevnet-4from
fix/arm64-docker-build

Conversation

@mananuf
Copy link
Copy Markdown
Collaborator

@mananuf mananuf commented Apr 15, 2026

Fixes #211

Description:

Summary

  • Fix arm64 Docker image crash at XMSS prover initialization caused by
    leanMultisig's cached_bytecode.bin fingerprint mismatch on arm64
  • Add arch-aware RUSTFLAGS (-Ctarget-cpu=haswell only on amd64)
  • Stage leanMultisig Python sources from builder into runtime image so the
    bytecode recompile path works when the pre-committed x86 cache misses
  • Fix .dockerignore excluding wrong path (crypto/xmss/rust/targetxmss/rust/target)

Test plan

  • make docker-build succeeds on arm64 Mac
  • Run gean_0 + ethlambda_0 devnet locally — gean starts without prover panic
  • Verify amd64 CI build still passes (cache hit path, no recompile needed)

@mananuf mananuf requested a review from dimka90 April 15, 2026 17:47
@mananuf mananuf marked this pull request as ready for review April 15, 2026 17:47
@mananuf mananuf merged commit c23fcb4 into devnet-4 Apr 15, 2026
1 check passed
@mananuf mananuf deleted the fix/arm64-docker-build branch April 15, 2026 17:56
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.

arm64 Docker image panics at prover init: cached_bytecode.bin fingerprint mismatch triggers missing file read

2 participants