Skip to content

Commit 0f0a3e8

Browse files
committed
Enhancement: Add installation and version check for Claude Code in Dockerfile and CI workflow
Signed-off-by: Ihor Dvoretskyi <[email protected]>
1 parent cb195c5 commit 0f0a3e8

File tree

2 files changed

+7
-1
lines changed

2 files changed

+7
-1
lines changed

.devcontainer/Dockerfile

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,9 @@ RUN apt-get update && export DEBIAN_FRONTEND=noninteractive \
1515
&& apt-get clean -y \
1616
&& rm -rf /var/lib/apt/lists/*
1717

18+
# Install Claude Code
19+
RUN npm install -g @anthropic-ai/claude-code
20+
1821
# Set up SSH directory
1922
RUN mkdir -p /run/sshd
2023

.github/workflows/ci.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,6 +68,9 @@ jobs:
6868
which gh || echo "gh is missing"
6969
which node || echo "node is missing"
7070
which npm || echo "npm is missing"
71+
which claude-code || echo "claude-code is missing"
7172
# Test essential packages
7273
curl --version
73-
jq --version
74+
jq --version
75+
# Test Claude Code version
76+
claude-code --version || echo "claude-code version check failed"

0 commit comments

Comments
 (0)