Skip to content

Commit 464ff39

Browse files
committed
use npm from upstream-os
1 parent 4923169 commit 464ff39

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

php/Dockerfile-fpm

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,6 @@ ENV DEBIAN_FRONTEND=noninteractive
99
RUN apt-get update && \
1010
apt-get -y install \
1111
gnupg2 && \
12-
curl -sL https://deb.nodesource.com/setup_6.x | bash - && \
1312
apt-key update && \
1413
apt-get update && \
1514
apt-get -y install \
@@ -18,11 +17,10 @@ RUN apt-get update && \
1817
npm \
1918
--no-install-recommends && \
2019
apt-get clean && \
21-
npm -g install npm@latest && \
2220
rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/*
2321

2422
# Install less-compiler
25-
RUN npm install -g \
23+
RUN npm -g install \
2624
less \
2725
lesshint \
2826
uglify-js \

0 commit comments

Comments
 (0)