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
|
# Install system dependencies
|
||||||
RUN apk add --no-cache \
|
RUN apk add --no-cache \
|
||||||
@@ -8,13 +8,11 @@ RUN apk add --no-cache \
|
|||||||
openssh-client \
|
openssh-client \
|
||||||
ca-certificates
|
ca-certificates
|
||||||
|
|
||||||
# Install Claude Code CLI
|
# Install Claude Code CLI with Bun
|
||||||
RUN npm install -g @anthropic-ai/claude-code
|
RUN bun install -g @anthropic-ai/claude-code
|
||||||
|
|
||||||
# Install common development tools
|
# Install common development tools with Bun
|
||||||
RUN npm install -g \
|
RUN bun install -g typescript
|
||||||
typescript \
|
|
||||||
ts-node
|
|
||||||
|
|
||||||
# Create workspace directory
|
# Create workspace directory
|
||||||
WORKDIR /workspace
|
WORKDIR /workspace
|
||||||
|
|||||||
Reference in New Issue
Block a user