# Claudomator Agent Base Image FROM ubuntu:24.04 # Avoid interactive prompts ENV DEBIAN_FRONTEND=noninteractive # Install core build and dev tools RUN apt-get update && apt-get install -y \ git \ curl \ make \ wget \ nodejs \ npm \ sqlite3 \ jq \ sudo \ && rm -rf /var/lib/apt/lists/* # Install Go 1.22+ RUN wget https://go.dev/dl/go1.22.1.linux-amd64.tar.gz && \ tar -C /usr/local -xzf go1.22.1.linux-amd64.tar.gz && \ rm go1.22.1.linux-amd64.tar.gz ENV PATH=$PATH:/usr/local/go/bin # Install Claude CLI RUN npm install -g @anthropic-ai/claude-code # Install specific node tools RUN npm install -g postcss-cli tailwindcss autoprefixer # Setup workspace WORKDIR /workspace # Add a user claudomator-agent RUN useradd -m claudomator-agent && \ echo "claudomator-agent ALL=(ALL) NOPASSWD:ALL" >> /etc/sudoers # Ensure /usr/local/bin is writable for npm or use a different path # @anthropic-ai/claude-code might need some extra setup or just work USER claudomator-agent # Default command CMD ["/bin/bash"]