Skip to content

Claude Code is an agentic coding tool that lives in your terminal, understands your codebase, and helps you code faster by executing routine tasks, explaining complex code, and handling git workflows - all through natural language commands.

TypeScript

feat: Add CLAUDE_CODE_VERSION arg to devcontainer Dockerfile

Kurt Carpenter66ce6738830a
diff --git a/.devcontainer/Dockerfile b/.devcontainer/Dockerfile
index 2a51cae8..a9b6d055 100644
--- a/.devcontainer/Dockerfile
+++ b/.devcontainer/Dockerfile
@@ -3,6 +3,8 @@ FROM node:20
ARG TZ
ENV TZ="$TZ"
+ARG CLAUDE_CODE_VERSION=latest
+
# Install basic development tools and iptables/ipset
RUN apt update && apt install -y less \
git \
@@ -67,7 +69,7 @@ RUN sh -c "$(wget -O- https://github.com/deluan/zsh-in-docker/releases/download/
-x
# Install Claude
-RUN npm install -g @anthropic-ai/[email protected]
+RUN npm install -g @anthropic-ai/claude-code@${CLAUDE_CODE_VERSION}
# Copy and set up firewall script