summaryrefslogtreecommitdiff
path: root/images/agent-base/Dockerfile
blob: 71807aea3f6bd710c24bbea67e8066e55f986288 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
# Claudomator Agent Base Image
FROM ubuntu:22.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 \
    golang \
    nodejs \
    npm \
    sqlite3 \
    jq \
    sudo \
    && rm -rf /var/lib/apt/lists/*

# Install specific node tools if needed (example: postcss)
RUN npm install -g postcss-cli tailwindcss autoprefixer

# Setup workspace
WORKDIR /workspace

# Install Claudomator-aware CLI wrappers (placeholder)
# These will be provided by the Claudomator project in the future.
# For now, we assume 'claude' and 'gemini' binaries are available or mapped.

# Add a user claudomator-agent
RUN useradd -m claudomator-agent && \
    echo "claudomator-agent ALL=(ALL) NOPASSWD:ALL" >> /etc/sudoers

USER claudomator-agent

# Default command
CMD ["/bin/bash"]