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>
44 lines
1.0 KiB
Docker
44 lines
1.0 KiB
Docker
FROM ubuntu:24.04
|
|
|
|
# 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 \
|
|
unzip \
|
|
ca-certificates \
|
|
openssh-client \
|
|
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
|
|
|
|
# Create workspace directory
|
|
WORKDIR /workspace
|
|
|
|
# Default command: keep container running
|
|
CMD ["tail", "-f", "/dev/null"]
|