You are viewing a plain text version of this content. The canonical link for it is here.
Posted to common-commits@hadoop.apache.org by iw...@apache.org on 2020/06/30 01:47:58 UTC

[hadoop] branch branch-3.1 updated: HADOOP-17097. start-build-env.sh fails in branch-3.1. (#2108)

This is an automated email from the ASF dual-hosted git repository.

iwasakims pushed a commit to branch branch-3.1
in repository https://gitbox.apache.org/repos/asf/hadoop.git


The following commit(s) were added to refs/heads/branch-3.1 by this push:
     new d84386c  HADOOP-17097. start-build-env.sh fails in branch-3.1. (#2108)
d84386c is described below

commit d84386ccf7af267a214fc0d646cc1421cb49eaad
Author: Masatake Iwasaki <iw...@apache.org>
AuthorDate: Tue Jun 30 10:47:41 2020 +0900

    HADOOP-17097. start-build-env.sh fails in branch-3.1. (#2108)
---
 dev-support/docker/Dockerfile | 14 +++++++-------
 1 file changed, 7 insertions(+), 7 deletions(-)

diff --git a/dev-support/docker/Dockerfile b/dev-support/docker/Dockerfile
index e82a14c..e47a320 100644
--- a/dev-support/docker/Dockerfile
+++ b/dev-support/docker/Dockerfile
@@ -165,14 +165,14 @@ RUN pip2 install \
 RUN pip2 install python-dateutil
 
 ###
-# Install node.js for web UI framework (4.2.6 ships with Xenial)
+# Install node.js 5.x for web UI framework
+# (instead of 4.2.6 shipped with Xenial)
 ###
-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
+RUN curl -sL https://deb.nodesource.com/setup_5.x | bash - && \
+    apt-get install -y nodejs && \
+    npm install -g npm@5.10.0 && \
+    npm install -g bower@1.7.7 && \
+    npm install -g ember-cli@1.13.14
 
 ###
 # Avoid out of memory errors in builds


---------------------------------------------------------------------
To unsubscribe, e-mail: common-commits-unsubscribe@hadoop.apache.org
For additional commands, e-mail: common-commits-help@hadoop.apache.org