Disable ryuk reaper in the playwright container

... thus making it possible to use `testcontainers` inside unprivileged
containers.
This commit is contained in:
Richard van der Hoff 2025-11-04 23:46:13 +00:00
parent 4cfa5b3265
commit 6502ffcbe0

View File

@ -6,4 +6,8 @@ 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"]