YARN-5868. Update npm to latest version in Dockerfile to avoid random failures of npm while run maven build. (Sunil G via wangda)

This commit is contained in:
Wangda Tan 2016-11-11 10:58:50 -08:00
parent 503e73e849
commit a9ad5d6c81

View File

@ -138,6 +138,7 @@ ENV MAVEN_OPTS -Xms256m -Xmx512m
RUN apt-get -y install nodejs && \
ln -s /usr/bin/nodejs /usr/bin/node && \
apt-get -y install npm && \
npm install npm@latest -g && \
npm install -g bower && \
npm install -g ember-cli