From 2136976b8e96ae92fcc3098460d48cdb497d00ea Mon Sep 17 00:00:00 2001 From: Chris Farhood Date: Wed, 25 Feb 2026 18:54:45 -0500 Subject: [PATCH] fix: symlink claude binary to /usr/local/bin after install The installer puts claude in ~/.local/bin which isn't in PATH during Docker build. Co-Authored-By: Claude Opus 4.6 --- Dockerfile | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index 7b38891..f82d569 100644 --- a/Dockerfile +++ b/Dockerfile @@ -65,7 +65,9 @@ RUN curl -fsSL https://deb.nodesource.com/setup_lts.x | bash - && \ RUN npm install -g happy-coder # Install Claude Code native binary (npm wrapper breaks remote control) -RUN curl -fsSL https://claude.ai/install.sh | bash && claude --version +RUN curl -fsSL https://claude.ai/install.sh | bash && \ + ln -s /root/.local/bin/claude /usr/local/bin/claude && \ + claude --version # Install OpenCode AI coding agent RUN OPENCODE_VERSION=$(curl -sL https://api.github.com/repos/opencode-ai/opencode/releases/latest | jq -r '.tag_name') && \