-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathDockerfile
More file actions
43 lines (32 loc) · 1.09 KB
/
Dockerfile
File metadata and controls
43 lines (32 loc) · 1.09 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
FROM debian:latest
#RUN deb http://deb.debian.org/debian stretch main
#RUN deb-src http://deb.debian.org/debian stretch main
RUN apt update
RUN apt-get -y install curl \
dirmngr \
apt-transport-https \
lsb-release \
wget \
unzip \
libsqlite3-dev
RUN curl -sL https://deb.nodesource.com/setup_11.x | bash -
RUN apt-get -y install nodejs
RUN npm install
RUN echo "deb http://dl.google.com/linux/chrome/deb/ stable main" | tee -a /etc/apt/sources.list
RUN wget -q -O - https://dl.google.com/linux/linux_signing_key.pub | apt-key add - >/dev/null
RUN apt-get -qq install -y xvfb \
gtk2-engines-pixbuf \
xfonts-cyrillic \
xfonts-100dpi \
xfonts-75dpi \
xfonts-base \
xfonts-scalable \
imagemagick \
x11-apps \
default-jre
#RUN wget -q -O - https://dl-ssl.google.com/linux/linux_signing_key.pub | sudo apt-key add -
RUN sh -c 'echo "deb [arch=amd64] http://dl.google.com/linux/chrome/deb/ stable main" >> /etc/apt/sources.list.d/google.list'
RUN apt-get update
RUN apt-get install -y google-chrome-stable
RUN Xvfb :99 -ac -screen 0 1280x1024x24 &
RUN export DISPLAY=:99