Skip to content

Commit 2b58b4e

Browse files
Merge pull request #8 from reyesoft/version-3
file reestructured and some libraries for cypress added
2 parents e5206f6 + f2953c0 commit 2b58b4e

1 file changed

Lines changed: 17 additions & 6 deletions

File tree

Dockerfile

Lines changed: 17 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,23 @@
11
FROM node:12.16.2
22

3+
###
4+
# Install libraries needed
35
RUN 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 -y --no-install-recommends install \
7+
lftp \
8+
wget \
9+
xvfb \
10+
libgtk-3-dev \
11+
libnotify-dev \
12+
libgconf-2-4 \
13+
libnss3 \
14+
libxss1 \
15+
libasound2
16+
17+
###
18+
# Install latest chrome dev package, which installs the necessary libs to
19+
# make the bundled version of Chromium that Puppeteer installs work.
20+
RUN wget -q -O - https://dl-ssl.google.com/linux/linux_signing_key.pub | apt-key add - \
1021
&& sh -c 'echo "deb [arch=amd64] http://dl.google.com/linux/chrome/deb/ stable main" >> /etc/apt/sources.list.d/google.list' \
1122
&& apt-get update \
1223
&& apt-get install -y google-chrome-unstable --no-install-recommends \

0 commit comments

Comments
 (0)