forked from tenjaa/docker-java-chrome-nodejs
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathDockerfile
More file actions
32 lines (27 loc) · 975 Bytes
/
Dockerfile
File metadata and controls
32 lines (27 loc) · 975 Bytes
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
FROM debian
RUN apt-get update
RUN apt-get install -y --no-install-recommends \
wget \
gnupg \
curl \
ca-certificates \
bzip2 \
git \
lsof \
libncurses5
#Install Google Chrome
#https://www.google.com/linuxrepositories/
RUN wget -q -O - https://dl.google.com/linux/linux_signing_key.pub | 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 --no-install-recommends google-chrome-stable
#Install Openjdk 8
RUN sh -c 'echo "deb http://ftp.debian.org/debian jessie-backports main" >> /etc/apt/sources.list.d/backports.list'
RUN apt-get update
RUN apt-get install -y --no-install-recommends -t jessie-backports openjdk-8-jdk-headless
#Install nodejs
RUN curl -sL https://deb.nodesource.com/setup_8.x | bash -
RUN apt-get install -y --no-install-recommends nodejs
#Install bower and gulp
RUN npm install -g bower
RUN npm install -g gulp