File size: 638 Bytes
71a3477 | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 | FROM programbench/alecthomas_1776_chroma.8d04def: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}"
|