Upgrade agent image to Ubuntu 24.04 with full dev tooling
All checks were successful
Build and Push Agent / build (push) Successful in 2m21s
All checks were successful
Build and Push Agent / build (push) Successful in 2m21s
- Base: Ubuntu 24.04 (more complete than Alpine) - Python 3 with pip and venv - Node.js 24.x LTS - Bun runtime - Build tools: gcc, make, build-essential - kubectl for K8s operations - Common CLI tools: jq, curl, wget, git - Claude Code CLI Co-Authored-By: Claude Sonnet 4.5 (1M context) <noreply@anthropic.com>
This commit is contained in:
43
Dockerfile
43
Dockerfile
@@ -1,24 +1,43 @@
|
||||
FROM oven/bun:1.3.6-alpine
|
||||
FROM ubuntu:24.04
|
||||
|
||||
# Install system dependencies
|
||||
RUN apk add --no-cache \
|
||||
# Avoid interactive prompts
|
||||
ENV DEBIAN_FRONTEND=noninteractive
|
||||
|
||||
# Install system dependencies and build tools
|
||||
RUN apt-get update && apt-get install -y \
|
||||
curl \
|
||||
wget \
|
||||
git \
|
||||
bash \
|
||||
curl \
|
||||
unzip \
|
||||
ca-certificates \
|
||||
openssh-client \
|
||||
ca-certificates
|
||||
python3 \
|
||||
python3-pip \
|
||||
python3-venv \
|
||||
build-essential \
|
||||
jq \
|
||||
&& rm -rf /var/lib/apt/lists/*
|
||||
|
||||
# Install Node.js 24.x
|
||||
RUN curl -fsSL https://deb.nodesource.com/setup_24.x | bash - \
|
||||
&& apt-get install -y nodejs \
|
||||
&& rm -rf /var/lib/apt/lists/*
|
||||
|
||||
# Install Bun
|
||||
RUN curl -fsSL https://bun.sh/install | bash
|
||||
ENV PATH="/root/.bun/bin:$PATH"
|
||||
|
||||
# Install kubectl
|
||||
RUN curl -LO "https://dl.k8s.io/release/$(curl -L -s https://dl.k8s.io/release/stable.txt)/bin/linux/amd64/kubectl" \
|
||||
&& chmod +x kubectl \
|
||||
&& mv kubectl /usr/local/bin/
|
||||
|
||||
# Install Claude Code CLI with Bun
|
||||
RUN bun install -g @anthropic-ai/claude-code
|
||||
|
||||
# Install common development tools with Bun
|
||||
RUN bun install -g typescript
|
||||
|
||||
# Create workspace directory
|
||||
WORKDIR /workspace
|
||||
|
||||
# Copy MCP configuration
|
||||
COPY mcp-config.json /root/.claude/config.json
|
||||
|
||||
# Keep container running and ready for commands
|
||||
# Default command: keep container running
|
||||
CMD ["tail", "-f", "/dev/null"]
|
||||
|
||||
Reference in New Issue
Block a user