Disable ryuk reaper in the playwright container
... thus making it possible to use `testcontainers` inside unprivileged containers.
This commit is contained in:
@@ -6,4 +6,8 @@ WORKDIR /work
|
|||||||
# fonts-dejavu is needed for the same RTL rendering as on CI
|
# fonts-dejavu is needed for the same RTL rendering as on CI
|
||||||
RUN apt-get update && apt-get -y install docker.io fonts-dejavu
|
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"]
|
ENTRYPOINT ["npx", "playwright", "test", "--update-snapshots", "--reporter", "line"]
|
||||||
|
|||||||
Reference in New Issue
Block a user