浏览代码

[build] Moving from nodejs 10 to 14

Romain Rigaux 4 年之前
父节点
当前提交
f11b3d17cd

+ 2 - 2
docs/docs-site/content/administrator/installation/dependencies/_index.md

@@ -179,7 +179,7 @@ On macOS 10.15.x
 This is a verified step-by-step guide on how to get up and running on a fresh installation of macOS Big Sur, tested on both M1 and Intel based MacBook Pro.
 
 1. Clone the Hue repo
-   
+
     `git clone https://github.com/cloudera/hue.git`
 
 2. Install Brew if not already installed
@@ -266,7 +266,7 @@ Version 10+ is needed.
 
 e.g. how to install on Ubuntu:
 
-    curl -sL https://deb.nodesource.com/setup_10.x | sudo bash -
+    curl -sL https://deb.nodesource.com/setup_14.x | sudo bash -
     sudo apt-get install -y nodejs
 
 ## Installing Python 2.7

+ 1 - 1
tools/docker/hue/Dockerfile

@@ -24,7 +24,7 @@ RUN pip3 install --upgrade setuptools
 RUN pip3 install virtualenv
 
 # Need recent version for Ubuntu
-RUN curl -sL https://deb.nodesource.com/setup_10.x | sudo bash - \
+RUN curl -sL https://deb.nodesource.com/setup_14.x | sudo bash - \
   && apt-get install -y nodejs
 
 RUN addgroup hue && useradd -r -u 1001 -g hue hue

+ 1 - 1
tools/docker/hue/Dockerfile.py2

@@ -46,7 +46,7 @@ RUN rm desktop/conf/*
 COPY desktop/conf.dist desktop/conf
 
 # Need recent version for Ubuntu
-RUN curl -sL https://deb.nodesource.com/setup_10.x | sudo bash - \
+RUN curl -sL https://deb.nodesource.com/setup_14.x | sudo bash - \
   && apt-get install -y nodejs
 
 RUN PREFIX=/usr/share make install