File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11FROM node:12.16.2
22
3+ # ##
4+ # Install libraries needed
35RUN apt-get update \
4- # Install lftp
5- && apt-get -qq install lftp \
6- # Install latest chrome dev package, which installs the necessary libs to
7- # make the bundled version of Chromium that Puppeteer installs work.
8- && apt-get install -y wget --no-install-recommends \
9- && wget -q -O - https://dl-ssl.google.com/linux/linux_signing_key.pub | apt-key add - \
6+ && apt-get -qq install --noinstall-recommends -y \
7+ lftp \
8+ wget \
9+ google-chrome-unstable \
10+ xvfb \
11+ libgtk-3-dev \
12+ libnotify-dev \
13+ libgconf-2-4 \
14+ libnss3 \
15+ libxss1 \
16+ libasound2
17+
18+ # ##
19+ # Install latest chrome dev package, which installs the necessary libs to
20+ # make the bundled version of Chromium that Puppeteer installs work.
21+ RUN wget -q -O - https://dl-ssl.google.com/linux/linux_signing_key.pub | apt-key add - \
1022 && sh -c 'echo "deb [arch=amd64] http://dl.google.com/linux/chrome/deb/ stable main" >> /etc/apt/sources.list.d/google.list' \
11- && apt-get update \
12- && apt-get install -y google-chrome-unstable --no-install-recommends \
1323 && rm -rf /var/lib/apt/lists/* \
1424 && wget --quiet https://raw.githubusercontent.com/vishnubob/wait-for-it/master/wait-for-it.sh -O /usr/sbin/wait-for-it.sh \
1525 && chmod +x /usr/sbin/wait-for-it.sh
You can’t perform that action at this time.
0 commit comments