FROM programbench/ast-grep_1776_ast-grep.dde0fe0:task_cleanroom_v6 # Bake Harbor mini-swe-agent + uv at image build time (build has network) so the # agent-phase allowlist can stay LLM-only instead of whitelisting installer CDNs. COPY --from=ghcr.io/astral-sh/uv:0.7.13 /uv /uvx /usr/local/bin/ RUN python3 -m pip install --no-cache-dir --disable-pip-version-check \ 'huggingface-hub>=0.20' \ && uv tool install mini-swe-agent \ && if command -v mini-swe-agent >/dev/null 2>&1; then \ install -m 0755 "$(command -v mini-swe-agent)" /usr/local/bin/mini-swe-agent; \ fi ENV PATH="/root/.local/bin:/usr/local/bin:${PATH}"