fix: copy claude binary to /usr/local/bin instead of symlinking
Symlink left the original in ~/.local/bin which triggered a PATH warning at runtime. Copy the binary and remove the original. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
+2
-1
@@ -66,7 +66,8 @@ RUN npm install -g happy-coder
|
|||||||
|
|
||||||
# Install Claude Code native binary (npm wrapper breaks remote control)
|
# Install Claude Code native binary (npm wrapper breaks remote control)
|
||||||
RUN curl -fsSL https://claude.ai/install.sh | bash && \
|
RUN curl -fsSL https://claude.ai/install.sh | bash && \
|
||||||
ln -s /root/.local/bin/claude /usr/local/bin/claude && \
|
cp /root/.local/bin/claude /usr/local/bin/claude && \
|
||||||
|
rm -rf /root/.local/bin/claude && \
|
||||||
claude --version
|
claude --version
|
||||||
|
|
||||||
# Install OpenCode AI coding agent
|
# Install OpenCode AI coding agent
|
||||||
|
|||||||
Reference in New Issue
Block a user