NemoClaw
NemoClaw copied to clipboard
Dockerfile: gosu binary hardcoded to amd64, breaks DGX Spark (arm64)
Description
The Dockerfile introduced in the gateway process isolation PR (#721) downloads gosu-amd64:
RUN curl -fsSL -o /usr/local/bin/gosu "https://github.com/tianon/gosu/releases/download/1.19/gosu-amd64" \
On DGX Spark (aarch64/ARMv9 Grace CPU), the Docker build fails with:
/bin/sh: 1: gosu: Exec format error
Suggested fix
Use dpkg --print-architecture or $(uname -m) to select the correct binary:
RUN ARCH=$(dpkg --print-architecture) \
&& curl -fsSL -o /usr/local/bin/gosu "https://github.com/tianon/gosu/releases/download/1.19/gosu-${ARCH}" \
&& chmod +x /usr/local/bin/gosu \
&& gosu --version
The sha256 checksum will also need to vary by architecture.
Environment
- DGX Spark (NVIDIA GB10, aarch64)
- OpenShell 0.0.15
- NemoClaw v0.1.0 (latest main)
This issue has been resolved by the merged PR.: https://github.com/NVIDIA/NemoClaw/pull/861
thanks!