* Make sure 'uglify' is installed as 'make dojo' depends on it

This commit is contained in:
Erik Huelsmann 2017-05-23 15:21:23 +02:00
parent 2738fc3728
commit 5390be8aac

View File

@ -27,6 +27,8 @@ RUN DEBIAN_FRONTENT=noninteractive && \
# Nodejs for doing Dojo build # Nodejs for doing Dojo build
RUN curl -sL https://deb.nodesource.com/setup_6.x | bash - && \ RUN curl -sL https://deb.nodesource.com/setup_6.x | bash - && \
apt-get install -y nodejs apt-get install -y nodejs
RUN curl https://www.npmjs.com/install.sh | sh
RUN npm uglify-js@">=2.0 <3.0"
# Java is required for closure compiler in Dojo build # Java is required for closure compiler in Dojo build
RUN DEBIAN_FRONTENT=noninteractive && apt-get install -y openjdk-7-jre RUN DEBIAN_FRONTENT=noninteractive && apt-get install -y openjdk-7-jre