This is an automated email from the ASF dual-hosted git repository. stevel pushed a commit to branch branch-2.9 in repository https://gitbox.apache.org/repos/asf/hadoop.git
The following commit(s) were added to refs/heads/branch-2.9 by this push: new 78f1974 HADOOP-15617. Node.js and npm package loading in the Dockerfile failing on branch-2. 78f1974 is described below commit 78f19741449417cecb6c4f37c0716c4adaced5cb Author: Akhil PB <a...@cloudera.com> AuthorDate: Thu Jan 17 10:05:34 2019 +0000 HADOOP-15617. Node.js and npm package loading in the Dockerfile failing on branch-2. Contributed by Akhil PB. (cherry picked from commit a5f678f54ff63d9654398c7cff176b84aff32e7b) --- dev-support/docker/Dockerfile | 14 ++++++++------ 1 file changed, 8 insertions(+), 6 deletions(-) diff --git a/dev-support/docker/Dockerfile b/dev-support/docker/Dockerfile index 026109f..f6dc6e4 100644 --- a/dev-support/docker/Dockerfile +++ b/dev-support/docker/Dockerfile @@ -137,12 +137,14 @@ ENV MAVEN_OPTS -Xms256m -Xmx1536m ### # Install node js tools for web UI frameowkr ### -RUN apt-get -y install nodejs && \ - ln -s /usr/bin/nodejs /usr/bin/node && \ - apt-get -y install npm && \ - npm config set strict-ssl false && \ - npm install -g bower && \ - npm install -g ember-cli +RUN apt-get -q update \ + && apt-get install -y --no-install-recommends nodejs npm \ + && apt-get clean \ + && rm -rf /var/lib/apt/lists/* \ + && ln -s /usr/bin/nodejs /usr/bin/node \ + && npm config set strict-ssl false \ + && npm install npm@latest -g \ + && npm install -g jshint ### # Everything past this point is either not needed for testing or breaks Yetus. --------------------------------------------------------------------- To unsubscribe, e-mail: common-commits-unsubscr...@hadoop.apache.org For additional commands, e-mail: common-commits-h...@hadoop.apache.org