Skip to content

fix: use multi-arch devcontainer base image for universal compatibility#2

Open
joshuahamsa wants to merge 1 commit into
XRPL-Commons:mainfrom
joshuahamsa:fix/devcontainer-multiarch
Open

fix: use multi-arch devcontainer base image for universal compatibility#2
joshuahamsa wants to merge 1 commit into
XRPL-Commons:mainfrom
joshuahamsa:fix/devcontainer-multiarch

Conversation

@joshuahamsa

Copy link
Copy Markdown
Contributor

Problem

The devcontainer used mcr.microsoft.com/devcontainers/universal:2, which is only published for linux/amd64. On Apple Silicon (arm64) hosts this fails to build natively (or runs slowly under emulation).

Fix

Switch to mcr.microsoft.com/devcontainers/base:ubuntu, a multi-arch image published for both amd64 and arm64. This builds natively on Intel/AMD and Apple Silicon.

Because base:ubuntu is minimal (unlike universal:2, it ships neither Node nor Python), this PR also adds the official multi-arch node and python features so that setup.sh (npm install, pip install xrpl-py) and the wallet-minting step continue to work.

Testing

Built successfully via devcontainer up on macOS arm64 (Apple Silicon).

🤖 Generated with Claude Code

Switch from universal:2 (linux/amd64 only) to base:ubuntu, which is
published for both amd64 and arm64. This lets the devcontainer build
natively on Apple Silicon as well as Intel/AMD hosts.

Since base:ubuntu is minimal, add the node and python features that
universal:2 previously provided, so setup.sh (npm, pip, mint-wallets)
continues to work.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
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