Commit 464ff396 authored by Tobias Munk's avatar Tobias Munk

use npm from upstream-os

parent 49231699
Pipeline #58611 failed with stages
in 1 minute and 34 seconds
...@@ -9,7 +9,6 @@ ENV DEBIAN_FRONTEND=noninteractive ...@@ -9,7 +9,6 @@ ENV DEBIAN_FRONTEND=noninteractive
RUN apt-get update && \ RUN apt-get update && \
apt-get -y install \ apt-get -y install \
gnupg2 && \ gnupg2 && \
curl -sL https://deb.nodesource.com/setup_6.x | bash - && \
apt-key update && \ apt-key update && \
apt-get update && \ apt-get update && \
apt-get -y install \ apt-get -y install \
...@@ -18,11 +17,10 @@ RUN apt-get update && \ ...@@ -18,11 +17,10 @@ RUN apt-get update && \
npm \ npm \
--no-install-recommends && \ --no-install-recommends && \
apt-get clean && \ apt-get clean && \
npm -g install npm@latest && \
rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/* rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/*
# Install less-compiler # Install less-compiler
RUN npm install -g \ RUN npm -g install \
less \ less \
lesshint \ lesshint \
uglify-js \ uglify-js \
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment