NemoClaw icon indicating copy to clipboard operation
NemoClaw copied to clipboard

Dockerfile: gosu binary hardcoded to amd64, breaks DGX Spark (arm64)

Open cluster2600 opened this issue 8 months ago • 2 comments

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)

cluster2600 avatar Mar 25 '26 08:03 cluster2600

This issue has been resolved by the merged PR.: https://github.com/NVIDIA/NemoClaw/pull/861

cr7258 avatar Mar 25 '26 14:03 cr7258

thanks!

cluster2600 avatar Mar 25 '26 18:03 cluster2600