Skip to content

Commit a7f17b6

Browse files
committed
Add claude binary dir
1 parent f278d78 commit a7f17b6

1 file changed

Lines changed: 8 additions & 1 deletion

File tree

opencog/claude-code/Dockerfile

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,10 +9,15 @@
99
# -w /home/opencog/
1010
# -it opencog/claude-code
1111
# 3. docker start -i aclaw
12+
#
13+
# In the container:
14+
# 4. ./run-tmux.sh
15+
# 5. cd src
16+
# 6. /home/opencog/.local/bin/claude
1217

1318
#
1419
ARG OS_VERSION=latest
15-
# We don't actually need the python stuff, and python is heavyweight.
20+
# We don't actually need npm/python any more.
1621
# ARG BASE_IMAGE=opencog/atomspace-py:${OS_VERSION}
1722
ARG BASE_IMAGE=opencog/atomspace:${OS_VERSION}
1823
FROM ${BASE_IMAGE}
@@ -24,8 +29,10 @@ WORKDIR /home/opencog
2429
# Install Anthropic Claude Code
2530
# RUN npm install -g @anthropic-ai/claude-code
2631
RUN curl -fsSL https://claude.ai/install.sh | bash
32+
ENV PATH=/home/opencog/.local/bin:$PATH
2733

2834
# The OAuth token needs to be refreshed from time to time.
35+
# XXX Is this actually needed any more ??
2936
RUN curl -O https://raw.githubusercontent.com/RavenStorm-bit/claude-token-refresh/main/claude_token_refresh.py && chmod +x claude_token_refresh.py
3037

3138
# Run tini as PID1 and bash as PID2. tini will manage signals, etc.

0 commit comments

Comments
 (0)