-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathDockerfile
More file actions
28 lines (21 loc) · 920 Bytes
/
Dockerfile
File metadata and controls
28 lines (21 loc) · 920 Bytes
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
FROM python:3.12-bookworm
# System tools needed by SWE-bench repos
RUN apt-get update && apt-get install -y --no-install-recommends \
git curl jq \
&& rm -rf /var/lib/apt/lists/*
# Floop CLI — Go binary from GitHub releases
ARG FLOOP_VERSION=0.10.0
ARG TARGETARCH=amd64
RUN curl -fsSL "https://github.com/nvandessel/floop/releases/download/v${FLOOP_VERSION}/floop-${FLOOP_VERSION}-linux-${TARGETARCH}.tar.gz" \
| tar -xz -C /usr/local/bin floop \
&& chmod +x /usr/local/bin/floop
# Python tooling (uv for fast installs)
COPY --from=ghcr.io/astral-sh/uv:latest /uv /usr/local/bin/uv
# Project root is /app — deps, agent code, and venv all live here
WORKDIR /app
COPY pyproject.toml uv.lock ./
RUN uv sync --frozen --no-dev
# Agent + floop integration code
COPY agents/ /app/agents/
COPY floop_integration/ /app/floop_integration/
ENTRYPOINT ["uv", "run", "python", "-m", "agents.mini_swe_cli"]