claude-code
claude-code copied to clipboard
Fix: Pin Claude version in Dockerfile
🔧 Fix: Pin Claude version in Dockerfile to prevent stale installations
🧠 Summary
This pull request updates the Dockerfile to explicitly install a specific version of @anthropic-ai/claude-code instead of relying on the default latest tag. This ensures consistent, predictable builds across environments.
🚀 What’s Changed
- RUN npm install -g @anthropic-ai/claude-code
+ RUN npm install -g @anthropic-ai/[email protected]
But why?
But why?
This ensures consistent, predictable builds across environments.
I don't think I'm in favor but come on.
Thanks for the suggestions and discussion - added an ARG CLAUDE_CODE_VERSION that allows overriding the version of Claude Code in the devcontainer.