Download tasks/codesnap-rs--codesnap.f81e4f3/environment/Dockerfile from HuggingFaceSwarms/ProgramBench: direct link, hf CLI and curl.
- Browser
- Download file 641 Bytes
-
https://huggingface.co/datasets/HuggingFaceSwarms/ProgramBench/resolve/main/tasks/codesnap-rs--codesnap.f81e4f3/environment/Dockerfile
- Command line
-
hf download hf://datasets/HuggingFaceSwarms/ProgramBench/tasks/codesnap-rs--codesnap.f81e4f3/environment/Dockerfile
-
curl -L -o Dockerfile https://huggingface.co/datasets/HuggingFaceSwarms/ProgramBench/resolve/main/tasks/codesnap-rs--codesnap.f81e4f3/environment/Dockerfile
641 Bytes
| FROM programbench/codesnap-rs_1776_codesnap.f81e4f3: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}" | |