Skip to content

fix: install Claude Code CLI globally for Docker support#133

Closed
satnamra wants to merge 1 commit intoKeygraphHQ:mainfrom
satnamra:main
Closed

fix: install Claude Code CLI globally for Docker support#133
satnamra wants to merge 1 commit intoKeygraphHQ:mainfrom
satnamra:main

Conversation

@satnamra
Copy link
Copy Markdown

Problem

Shannon security tests were blocked due to missing claude-code binary in Docker container. Error: spawn node ENOENT

Root Cause

Dockerfile included nodejs-22 but Claude Code CLI was not installed globally.

Solution

Add npm install -g @anthropic-ai/claude-code to Dockerfile.

Impact

  • Unblocks Shannon security test scans
  • Required by claude-agent-sdk for AI code execution
  • Fixes Docker build failures

Testing

  • Manual verification that @anthropic-ai/claude-code is a standard npm package
  • Ready for CI/CD validation

Closes Shannon: Run First Test Scan task

Resolves issue where Shannon security tests were blocked due to missing
claude-code binary in Docker container.

- Add npm install -g @anthropic-ai/claude-code to Dockerfile
- Required by claude-agent-sdk for AI code execution
- Fixes 'spawn node ENOENT' error in Docker builds
@satnamra satnamra closed this Feb 16, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant