Switch to Bun runtime for Claude Code
All checks were successful
Build and Push Agent / build (push) Successful in 29s
All checks were successful
Build and Push Agent / build (push) Successful in 29s
Claude Code is optimized for Bun, use Bun instead of Node.js Co-Authored-By: Claude Sonnet 4.5 (1M context) <noreply@anthropic.com>
This commit is contained in:
12
Dockerfile
12
Dockerfile
@@ -1,4 +1,4 @@
|
||||
FROM node:20-alpine
|
||||
FROM oven/bun:1.3.6-alpine
|
||||
|
||||
# Install system dependencies
|
||||
RUN apk add --no-cache \
|
||||
@@ -8,13 +8,11 @@ RUN apk add --no-cache \
|
||||
openssh-client \
|
||||
ca-certificates
|
||||
|
||||
# Install Claude Code CLI
|
||||
RUN npm install -g @anthropic-ai/claude-code
|
||||
# Install Claude Code CLI with Bun
|
||||
RUN bun install -g @anthropic-ai/claude-code
|
||||
|
||||
# Install common development tools
|
||||
RUN npm install -g \
|
||||
typescript \
|
||||
ts-node
|
||||
# Install common development tools with Bun
|
||||
RUN bun install -g typescript
|
||||
|
||||
# Create workspace directory
|
||||
WORKDIR /workspace
|
||||
|
||||
Reference in New Issue
Block a user