fix: switch Claude Code to native binary — npm wrapper breaks remote control
The npm-installed Claude Code runs via Node.js, which causes remote control to fail with '/usr/bin/node: bad option: --sdk-url'. The native binary handles subprocess spawning correctly. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
+2
-2
@@ -64,8 +64,8 @@ RUN curl -fsSL https://deb.nodesource.com/setup_lts.x | bash - && \
|
|||||||
# Install Happy Coder globally via npm (stable, rarely changes)
|
# Install Happy Coder globally via npm (stable, rarely changes)
|
||||||
RUN npm install -g happy-coder
|
RUN npm install -g happy-coder
|
||||||
|
|
||||||
# Install Claude Code globally via npm
|
# Install Claude Code native binary (npm wrapper breaks remote control)
|
||||||
RUN npm install -g @anthropic-ai/claude-code@latest && claude --version
|
RUN curl -fsSL https://claude.ai/install.sh | sh && claude --version
|
||||||
|
|
||||||
# Install OpenCode AI coding agent
|
# Install OpenCode AI coding agent
|
||||||
RUN OPENCODE_VERSION=$(curl -sL https://api.github.com/repos/opencode-ai/opencode/releases/latest | jq -r '.tag_name') && \
|
RUN OPENCODE_VERSION=$(curl -sL https://api.github.com/repos/opencode-ai/opencode/releases/latest | jq -r '.tag_name') && \
|
||||||
|
|||||||
Reference in New Issue
Block a user