Files
ThreadNet-Web/packages/element-web-playwright-common/Dockerfile
T
Richard van der Hoff 6502ffcbe0 Disable ryuk reaper in the playwright container
... thus making it possible to use `testcontainers` inside unprivileged
containers.
2025-11-04 23:46:13 +00:00

14 lines
505 B
Docker

ARG PLAYWRIGHT_VERSION
FROM mcr.microsoft.com/playwright:v${PLAYWRIGHT_VERSION}-noble
WORKDIR /work
# fonts-dejavu is needed for the same RTL rendering as on CI
RUN apt-get update && apt-get -y install docker.io fonts-dejavu
# Disable the ryuk resource reaper, because it doesn't work in environments
# that disallow starting privileged containers (such as rootless containers)
ENV TESTCONTAINERS_RYUK_DISABLED=true
ENTRYPOINT ["npx", "playwright", "test", "--update-snapshots", "--reporter", "line"]