* Remove JRE installation and adjust NPM installation

This commit is contained in:
Erik Huelsmann 2017-05-23 15:43:08 +02:00
parent 5390be8aac
commit 75c8c8f0b0

View File

@ -25,14 +25,9 @@ RUN DEBIAN_FRONTENT=noninteractive && \
git
# Nodejs for doing Dojo build
RUN curl -sL https://deb.nodesource.com/setup_6.x | bash - && \
apt-get install -y nodejs
RUN curl https://www.npmjs.com/install.sh | sh
RUN apt-get install -y npm
RUN npm uglify-js@">=2.0 <3.0"
# Java is required for closure compiler in Dojo build
RUN DEBIAN_FRONTENT=noninteractive && apt-get install -y openjdk-7-jre
# Build time variables
ENV LSMB_VERSION master
ARG CACHEBUST