-
Notifications
You must be signed in to change notification settings - Fork 8
Expand file tree
/
Copy pathDockerfile.cpu
More file actions
42 lines (36 loc) · 1.11 KB
/
Copy pathDockerfile.cpu
File metadata and controls
42 lines (36 loc) · 1.11 KB
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
38
39
40
41
42
# CPU-only base image for researcharena agent containers.
# Used for systems, databases, PL, theory, and other non-GPU workloads.
#
# CLI agent tools (claude, codex, etc.) are mounted from the host at runtime
# by agent_runner.py, so they don't need to be installed here.
#
# Build:
# podman build --userns=host -f Dockerfile.cpu -t researcharena/agent-cpu:latest .
# # or: docker build -f Dockerfile.cpu -t researcharena/agent-cpu:latest .
FROM python:3.11-slim
ENV PYTHONUNBUFFERED=1
# ── System packages for common systems/DB/PL research ──
RUN apt-get update && apt-get install -y --no-install-recommends \
build-essential \
git \
curl \
wget \
pkg-config \
libssl-dev \
&& rm -rf /var/lib/apt/lists/*
# ── Python scientific computing + systems research packages ──
RUN pip install --no-cache-dir \
numpy scipy pandas matplotlib seaborn plotly \
scikit-learn \
networkx \
sympy \
z3-solver \
pyyaml \
requests \
psutil
# ── Workspace setup ──
RUN mkdir -p /workspace
WORKDIR /workspace
# Non-interactive defaults
ENV NONINTERACTIVE=1
ENV CI=1