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

abstractdog pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/tez.git


The following commit(s) were added to refs/heads/master by this push:
     new 601d1f3  TEZ-4283: Docker fails to build on master - upgrade to 
nodejs10 (#104)
601d1f3 is described below

commit 601d1f3578e50d7212477cd3919e9ccc7cf117cf
Author: Bodor Laszlo <[email protected]>
AuthorDate: Mon Feb 8 19:34:34 2021 +0100

    TEZ-4283: Docker fails to build on master - upgrade to nodejs10 (#104)
---
 build-tools/docker/Dockerfile | 11 ++++++-----
 1 file changed, 6 insertions(+), 5 deletions(-)

diff --git a/build-tools/docker/Dockerfile b/build-tools/docker/Dockerfile
index 143861d..ae26e41 100644
--- a/build-tools/docker/Dockerfile
+++ b/build-tools/docker/Dockerfile
@@ -171,12 +171,13 @@ RUN pip2 install pylint==1.9.2
 RUN pip2 install python-dateutil==2.7.3
 
 ###
-# Install node.js for web UI framework (4.2.6 ships with Xenial)
+# Install node.js for web UI framework (8.10.0 ships with Bionic, let's 
override with 10.x)
 ###
-# hadolint ignore=DL3008, DL3016
-RUN apt-get -q update \
-    && apt-get install -y --no-install-recommends nodejs npm \
-    && apt-get clean \
+RUN curl -sL https://deb.nodesource.com/setup_10.x | bash -
+# hadolint ignore=DL3008, DL3015
+RUN apt-get install -y nodejs
+# hadolint ignore=DL3016
+RUN apt-get clean \
     && rm -rf /var/lib/apt/lists/* \
     && npm install npm@latest -g \
     && npm install -g jshint

Reply via email to