Document a task-bench command for this repo, with an image that holds what its tests need

This commit is contained in:
2026-11-23 23:21:11 +01:00
parent fb3e526989
commit 38c91606d6
3 changed files with 11 additions and 0 deletions
+7
View File
@@ -0,0 +1,7 @@
# The image `task-bench` runs this repo's tests in, with no network: README.md → Install documents its command.
# The python tag is ci.sh's; the pytest pins are bin/run_tests/main.py's. git and tmux are what the tests run; Debian's apt holds one version of each per release, so the base's tag pins them.
FROM python:3.14.8
RUN apt-get update \
&& apt-get install --yes --no-install-recommends git tmux \
&& rm -rf /var/lib/apt/lists/* \
&& pip install --no-cache-dir pytest==9.2.0 pytest-xdist==3.8.0