aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorpaulrbr-fl <43074087+paulrbr-fl@users.noreply.github.com>2019-03-13 14:44:39 +0100
committerGitHub <noreply@github.com>2019-03-13 14:44:39 +0100
commitd181274c68649ae110a4f4baad8d350aaa824b7b (patch)
tree5d18891bf1d5e9ae20fde87a6243b602d53390cc
parent65074988fb4e2ddced8edba50927f6f6536604c3 (diff)
parent0bbf02d94587ea9da477b6650be3e1070fbc3408 (diff)
downloaddocker-puppeteer-d181274c68649ae110a4f4baad8d350aaa824b7b.tar.gz
docker-puppeteer-d181274c68649ae110a4f4baad8d350aaa824b7b.tar.zst
docker-puppeteer-d181274c68649ae110a4f4baad8d350aaa824b7b.zip
Merge pull request #2 from paulrbr-fl/masterv1.13.0
remove uneeded external script "wait-for-it" and use 'fuser' instead
-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: