Skip to content

Commit ef7aa4a

Browse files
author
Juan I. Castellano
committed
file reestructured and some libraries for cypress added
1 parent e5206f6 commit ef7aa4a

1 file changed

Lines changed: 18 additions & 8 deletions

File tree

Dockerfile

Lines changed: 18 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,25 @@
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 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

0 commit comments

Comments
 (0)