Download tasks/danmar--cppcheck.0a5b103/environment/Dockerfile from HuggingFaceSwarms/ProgramBench: direct link, hf CLI and curl.
- Browser
- Download file 636 Bytes
-
https://huggingface.co/datasets/HuggingFaceSwarms/ProgramBench/resolve/6ab1d3d18d2dbf9c241e9251c6c9e035f9b49be3/tasks/danmar--cppcheck.0a5b103/environment/Dockerfile
- Command line
-
hf download hf://datasets/HuggingFaceSwarms/ProgramBench@6ab1d3d18d2dbf9c241e9251c6c9e035f9b49be3/tasks/danmar--cppcheck.0a5b103/environment/Dockerfile
-
curl -L -o Dockerfile https://huggingface.co/datasets/HuggingFaceSwarms/ProgramBench/resolve/6ab1d3d18d2dbf9c241e9251c6c9e035f9b49be3/tasks/danmar--cppcheck.0a5b103/environment/Dockerfile
636 Bytes
| FROM programbench/danmar_1776_cppcheck.0a5b103: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}" | |