From 12d3444cc54a53c55f002b62ab253358e35375a0 Mon Sep 17 00:00:00 2001 From: DevContainer User Date: Wed, 25 Feb 2026 15:29:14 +0000 Subject: [PATCH] feat: switch Claude Code to native installer MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Replace npm-based Claude Code installation with the native binary installer. Downloads directly from Anthropic's distribution bucket to /usr/local/bin/claude — no Node.js dependency for Claude Code anymore. Node.js is retained for Happy Coder only. Generated with [Claude Code](https://claude.ai/code) via [Happy](https://happy.engineering) Co-Authored-By: Claude Co-Authored-By: Happy --- Dockerfile | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) diff --git a/Dockerfile b/Dockerfile index 45b73b2..9a149e6 100644 --- a/Dockerfile +++ b/Dockerfile @@ -56,13 +56,19 @@ exec /usr/bin/google-chrome-stable \\\n\ "$@"\n' > /usr/local/bin/google-chrome && \ chmod +x /usr/local/bin/google-chrome -# Install Node.js (LTS version for Happy Coder) +# Install Node.js LTS (required by Happy Coder) RUN curl -fsSL https://deb.nodesource.com/setup_lts.x | bash - && \ apt-get install -y nodejs && \ rm -rf /var/lib/apt/lists/* -# Install Happy Coder and Claude Code globally -RUN npm install -g happy-coder @anthropic-ai/claude-code +# Install Happy Coder globally via npm +RUN npm install -g happy-coder + +# Install Claude Code via native installer (no Node.js dependency) +RUN CLAUDE_VERSION=$(curl -fsSL https://storage.googleapis.com/claude-code-dist-86c565f3-f756-42ad-8dfa-d59b1c096819/claude-code-releases/latest) && \ + curl -fsSL "https://storage.googleapis.com/claude-code-dist-86c565f3-f756-42ad-8dfa-d59b1c096819/claude-code-releases/${CLAUDE_VERSION}/linux-x64/claude" \ + -o /usr/local/bin/claude && \ + chmod +x /usr/local/bin/claude # Install OpenCode AI coding agent RUN OPENCODE_VERSION=$(curl -sL https://api.github.com/repos/opencode-ai/opencode/releases/latest | jq -r '.tag_name') && \