Commit 2054977
fix: install claude code CLI in slackbot docker image (#1247)
adds bun and nodejs to the docker image to support the claude agent sdk's
CLI dependency. the SDK requires the @anthropic-ai/claude-code package
which we install globally with bun and add to PATH.
changes:
- copy bun binary from official oven/bun image
- install nodejs 20.x from nodesource
- install @anthropic-ai/claude-code globally via bun
- add /root/.bun/bin to PATH for CLI access
fixes the CLINotFoundError when research_agent.py tries to use ClaudeSDKClient
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-authored-by: Claude <noreply@anthropic.com>1 parent f2e5280 commit 2054977
1 file changed
Lines changed: 8 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | 3 | | |
| 4 | + | |
4 | 5 | | |
5 | 6 | | |
6 | 7 | | |
7 | 8 | | |
8 | 9 | | |
9 | 10 | | |
10 | 11 | | |
| 12 | + | |
| 13 | + | |
11 | 14 | | |
12 | 15 | | |
13 | 16 | | |
14 | | - | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
15 | 22 | | |
16 | 23 | | |
17 | 24 | | |
| |||
0 commit comments