Permalink
Fetching contributors…
Cannot retrieve contributors at this time
42 lines (32 sloc) 1.18 KB
FROM ubuntu:xenial
RUN apt-get update \
&& apt-get install -y npm \
nodejs-legacy \
default-jre \
python \
python-pip \
wget \
curl \
unzip \
git-core \
build-essential \
autotools-dev \
autoconf \
libtool \
cmake \
scons \
zlib1g-dev \
libbz2-dev \
libssl-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"]