Skip to content

Conversation

@sd0xdev
Copy link

@sd0xdev sd0xdev commented Jan 30, 2026

Summary

The Dockerfile previously hardcoded linux-x64 in the Node.js binary download URL. On arm64 hosts this can lead to an exec format error during the image build.

This change selects the correct Node.js tarball based on dpkg --print-architecture:

  • amd64 -> linux-x64
  • arm64 -> linux-arm64

Unsupported architectures fail fast with a clear error.

Test plan

  • Build on amd64: docker build -t moltworker-test .
  • Build on arm64: docker build -t moltworker-test .
  • Verify node --version succeeds in the built image

@sd0xdev sd0xdev force-pushed the fix/dockerfile-arm64-node branch 2 times, most recently from 3147a64 to 7542e7f Compare January 30, 2026 04:34
Select the correct Node.js binary tarball based on dpkg architecture.

- amd64 -> linux-x64
- arm64 -> linux-arm64

This fixes exec format errors when building the sandbox container on arm64 hosts.
@sd0xdev sd0xdev force-pushed the fix/dockerfile-arm64-node branch from 7542e7f to 15b433c Compare January 30, 2026 04:42
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.

1 participant