aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-rw-r--r--Dockerfile7
1 files changed, 3 insertions, 4 deletions
diff --git a/Dockerfile b/Dockerfile
index 6d4567b..13994d2 100644
--- a/Dockerfile
+++ b/Dockerfile
@@ -4,20 +4,19 @@
4# https://github.com/GoogleChrome/puppeteer/blob/master/docs/troubleshooting.md#running-puppeteer-in-docker 4# https://github.com/GoogleChrome/puppeteer/blob/master/docs/troubleshooting.md#running-puppeteer-in-docker
5 5
6FROM node:10.15.3-slim@sha256:5a48598688f771a9140fdef31585dbe67b313b1e29439cbd9b81ebb25aeca517 6FROM node:10.15.3-slim@sha256:5a48598688f771a9140fdef31585dbe67b313b1e29439cbd9b81ebb25aeca517
7 7
8RUN apt-get update \ 8RUN apt-get update \
9 # See https://crbug.com/795759 9 # See https://crbug.com/795759
10 && apt-get install -yq libgconf-2-4 \ 10 && apt-get install -yq libgconf-2-4 \
11 # Install latest chrome dev package, which installs the necessary libs to 11 # Install latest chrome dev package, which installs the necessary libs to
12 # make the bundled version of Chromium that Puppeteer installs work. 12 # make the bundled version of Chromium that Puppeteer installs work.
13 && apt-get install -y wget make --no-install-recommends \ 13 # Also install system deps such as make, psmisc to have utily functions (such as fuser, peekfd)
14 && apt-get install -y wget make psmisc --no-install-recommends \
14 && wget -q -O - https://dl-ssl.google.com/linux/linux_signing_key.pub | apt-key add - \ 15 && wget -q -O - https://dl-ssl.google.com/linux/linux_signing_key.pub | apt-key add - \
15 && sh -c 'echo "deb [arch=amd64] http://dl.google.com/linux/chrome/deb/ stable main" >> /etc/apt/sources.list.d/google.list' \ 16 && sh -c 'echo "deb [arch=amd64] http://dl.google.com/linux/chrome/deb/ stable main" >> /etc/apt/sources.list.d/google.list' \
16 && apt-get update \ 17 && apt-get update \
17 && apt-get install -y google-chrome-unstable --no-install-recommends \ 18 && apt-get install -y google-chrome-unstable --no-install-recommends \
18 && rm -rf /var/lib/apt/lists/* \ 19 && rm -rf /var/lib/apt/lists/* \
19 && wget --quiet https://raw.githubusercontent.com/vishnubob/wait-for-it/master/wait-for-it.sh -O /usr/sbin/wait-for-it.sh \
20 && chmod +x /usr/sbin/wait-for-it.sh
21 20
22# Tell Puppeteer to skip installing Chrome. We'll be using the installed package. 21# Tell Puppeteer to skip installing Chrome. We'll be using the installed package.
23# you'll need to launch puppeteer with: 22# you'll need to launch puppeteer with: