forked from crossbario/autobahn-js
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Dockerfile
42 lines (33 loc) · 1.22 KB
/
Dockerfile
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
FROM ubuntu:bionic
RUN apt-get update \
&& apt-get install -y npm \
nodejs \
nodejs-dev \
default-jre \
python \
python-pip \
wget \
curl \
unzip \
git-core \
build-essential \
autotools-dev \
autoconf \
libtool \
cmake \
scons \
zlib1g-dev \
libbz2-dev \
libssl1.0-dev \
&& rm -rf /var/lib/apt/lists/* \
&& apt-get clean
# https://nodejs.org/dist/v6.10.3/node-v6.10.3-linux-x64.tar.xz
# tar xvf node-v*.tar.?z --strip-components=1 -C ./node
# sudo ln -s /opt/node/bin/node /usr/local/bin/node
# sudo ln -s /opt/node/bin/npm /usr/local/bin/npm
RUN npm install -g google-closure-compiler nodeunit
RUN pip install -U scons boto taschenmesser
VOLUME /work
WORKDIR /work
ENV JAVA_HOME /usr/lib/jvm/default-java
CMD ["make", "browser_deps", "build"]