Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,9 @@ RUN --mount=type=cache,target=/root/.npm,sharing=locked,id=npm-cache \
# Install system dependencies for playwright. apt is pointed at the mirror only for
# the duration of the install, so the published image keeps the default archive host.
sed -i "s|deb.debian.org|${DEBIAN_MIRROR_HOST}|g" /etc/apt/sources.list.d/debian.sources && \
# Pick up security fixes that the base image does not have yet.
apt-get update && \
DEBIAN_FRONTEND=noninteractive apt-get upgrade -y -o Acquire::Retries=0 && \
npx -y playwright-core install-deps chromium && \
# tini reaps orphaned browser processes that would otherwise become zombies under node as PID 1.
apt-get install -y --no-install-recommends tini && \
Expand Down
Loading