[BUG] v2.1.15 deprecated npm install, need to update Dockerfile
Resolved 💬 3 comments Opened Jan 23, 2026 by bmcdonough Closed Jan 27, 2026
Preflight Checklist
- [x] I have searched existing issues and this hasn't been reported yet
- [x] This is a single bug report (please file separate reports for different bugs)
- [x] I am using the latest version of Claude Code
What's Wrong?
With the release of v2.1.15, the npm install was deprecated. Therefore the Dockerfile should be updated.
References
2.1.15 CHANGELOG.md
- Added deprecation notification for npm installations - run claude install or see https://docs.anthropic.com/en/docs/claude-code/getting-started for more options
Dockerfile
What Should Happen?
RUN curl -fsSL https://claude.ai/install.sh | bash
Error Messages/Logs
Steps to Reproduce
cd /tmp
git clone https://github.com/anthropics/claude-code.git
cd claude-code/.devcontainer
podman build -t my-app . --build-arg TZ=UTC
podman run --rm -it --name claude my-app:latest /bin/bash
node@eceefafa2211:/workspace$ claude doctor
Diagnostics
└ Currently running: npm-global (2.1.17)
└ Path: /usr/local/bin/node
└ Invoked: /usr/local/share/npm-global/bin/claude
└ Config install method: unknown
└ Search: OK (vendor)
Updates
└ Auto-updates: enabled
└ Update permissions: Yes
└ Auto-update channel: latest
└ Stable version: 2.1.7
└ Latest version: 2.1.17
Press Enter to continue…
Claude Model
None
Is this a regression?
Yes, this worked in a previous version
Last Working Version
2.1.14
Claude Code Version
2.1.17 (Claude Code)
Platform
Anthropic API
Operating System
Ubuntu/Debian Linux
Terminal/Shell
VS Code integrated terminal
Additional Information
_No response_
This issue has 3 comments on GitHub. Read the full discussion on GitHub ↗