Skip to content

Commit 2effbe5

Browse files
committed
Fix puppeteer image
1 parent 687ed91 commit 2effbe5

1 file changed

Lines changed: 2 additions & 13 deletions

File tree

test/test-e2e/Dockerfile

Lines changed: 2 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,6 @@
1-
FROM node:20
2-
3-
# Install latest chrome dev package and fonts to support major charsets (Chinese, Japanese, Arabic, Hebrew, Thai and a few others)
4-
# Note: this installs the necessary libs to make the bundled version of Chromium that Puppeteer
5-
# installs, work.
6-
RUN apt-get update \
7-
&& apt-get install -y wget gnupg \
8-
&& wget -q -O - https://dl-ssl.google.com/linux/linux_signing_key.pub | apt-key add - \
9-
&& sh -c 'echo "deb [arch=amd64] http://dl.google.com/linux/chrome/deb/ stable main" >> /etc/apt/sources.list.d/google.list' \
10-
&& apt-get update \
11-
&& apt-get install -y google-chrome-stable fonts-ipafont-gothic fonts-wqy-zenhei fonts-thai-tlwg fonts-kacst fonts-freefont-ttf libxss1 \
12-
--no-install-recommends \
13-
&& rm -rf /var/lib/apt/lists/*
1+
FROM ghcr.io/puppeteer/puppeteer:22
142

3+
USER root
154
# If running Docker >= 1.13.0 use docker run's --init arg to reap zombie processes, otherwise
165
# uncomment the following lines to have `dumb-init` as PID 1
176
# ADD https://github.com/Yelp/dumb-init/releases/download/v1.2.2/dumb-init_1.2.2_x86_64 /usr/local/bin/dumb-init

0 commit comments

Comments
 (0)