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

+14
View File
@@ -0,0 +1,14 @@
# Base image of the factory's throw-away acceptance containers (used when .factory/setup.json names no image).
# Node 24, Python 3, a C/C++ toolchain, the Chromium that Playwright needs, and the small tools
# that acceptance setups installed again and again (see the runner log "apt installed: ...").
FROM node:24-bookworm
ENV DEBIAN_FRONTEND=noninteractive PIP_BREAK_SYSTEM_PACKAGES=1 PLAYWRIGHT_BROWSERS_PATH=/ms-playwright
RUN apt-get update && apt-get install -y --no-install-recommends \
build-essential cmake pkg-config git curl wget ca-certificates unzip xz-utils zip \
e2fsprogs util-linux zsh sudo nano procps iproute2 netcat-openbsd jq sqlite3 \
python3 python3-pip python3-venv \
&& rm -rf /var/lib/apt/lists/* \
&& npm install -g playwright \
&& playwright install --with-deps chromium \
&& rm -rf /var/lib/apt/lists/* /root/.npm \
&& chmod -R a+rX /ms-playwright