Test runner: shared base image for acceptance containers, log installed apt packages

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
This commit is contained in:
Richard ZinkandClaude Sonnet 5.5 committed 2026-11-20 20:33:59 +01:00
1 parent 23fbc6f302
commit d0e7cea117
9 files changed
+50 -10

No files matched your search

+5 -1
View File
@@ -391,7 +391,11 @@ directories, and copied into a fresh container only while that key matches – s
inherits changes from an earlier one, and editing a listed source rebuilds it. `"cache": false`
disables caching; `DELETE /v1/cache/<project>` on the runner clears one project.
`image` defaults to `RUNNER_DEFAULT_IMAGE`; `"dockerfile": "path"` builds the image from the
`image` defaults to `RUNNER_DEFAULT_IMAGE`, by default the shared base image
`codecraft-testbase` (Node 24, Python 3, gcc/cmake, Chromium with Playwright and common tools; see
`docker/testbase/Dockerfile`; plain Node 24 is the fallback when it cannot be pulled). The runner logs
per environment the start time, the seed hit/miss and the apt packages the setup installed.
The image can be changed per project with `"image"`; `"dockerfile": "path"` builds the image from the
repository instead; helper services are reachable by their name. Containers run without extra
capabilities, with memory/CPU/process limits (`RUNNER_MEMORY`, `RUNNER_CPUS`), and cannot see the
host. Without the runner, or without a `setup.json`, nothing changes. Note that the runner holds