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 aa...@apache.org on 2020/07/26 15:53:50 UTC

[hadoop] branch branch-3.3 updated: YARN-10367. Failed to get nodejs 10.21.0 when building docker image (#2171)

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

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


The following commit(s) were added to refs/heads/branch-3.3 by this push:
     new 9263b75  YARN-10367. Failed to get nodejs 10.21.0 when building docker image (#2171)
9263b75 is described below

commit 9263b75b3c1ef12c2c215206937fe3abd76b4bd4
Author: Akira Ajisaka <aa...@apache.org>
AuthorDate: Mon Jul 27 00:51:44 2020 +0900

    YARN-10367. Failed to get nodejs 10.21.0 when building docker image (#2171)
    
    (cherry picked from commit e277d338da2675262b4d6985e08c78e408b927a3)
---
 dev-support/docker/Dockerfile         | 5 +++--
 dev-support/docker/Dockerfile_aarch64 | 5 +++--
 2 files changed, 6 insertions(+), 4 deletions(-)

diff --git a/dev-support/docker/Dockerfile b/dev-support/docker/Dockerfile
index 1c2a5d5..de2cbc6 100644
--- a/dev-support/docker/Dockerfile
+++ b/dev-support/docker/Dockerfile
@@ -177,10 +177,11 @@ RUN pip2 install \
 RUN pip2 install python-dateutil==2.7.3
 
 ###
-# Install node.js 10.21.0 for web UI framework (4.2.6 ships with Xenial)
+# Install node.js 10.x for web UI framework (4.2.6 ships with Xenial)
 ###
+# hadolint ignore=DL3008
 RUN curl -L -s -S https://deb.nodesource.com/setup_10.x | bash - \
-    && apt-get install -y --no-install-recommends nodejs=10.21.0-1nodesource1 \
+    && apt-get install -y --no-install-recommends nodejs \
     && apt-get clean \
     && rm -rf /var/lib/apt/lists/* \
     && npm install -g bower@1.8.8
diff --git a/dev-support/docker/Dockerfile_aarch64 b/dev-support/docker/Dockerfile_aarch64
index 5628c60..511a451 100644
--- a/dev-support/docker/Dockerfile_aarch64
+++ b/dev-support/docker/Dockerfile_aarch64
@@ -184,10 +184,11 @@ RUN pip2 install \
 RUN pip2 install python-dateutil==2.7.3
 
 ###
-# Install node.js 10.21.0 for web UI framework (4.2.6 ships with Xenial)
+# Install node.js 10.x for web UI framework (4.2.6 ships with Xenial)
 ###
+# hadolint ignore=DL3008
 RUN curl -L -s -S https://deb.nodesource.com/setup_10.x | bash - \
-    && apt-get install -y --no-install-recommends nodejs=10.21.0-1nodesource1 \
+    && apt-get install -y --no-install-recommends nodejs \
     && apt-get clean \
     && rm -rf /var/lib/apt/lists/* \
     && npm install -g bower@1.8.8


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