YARN-10331. Upgrade node.js to 10.21.0. (#2106)

(cherry picked from commit cd188ea9f0)

 Conflicts:
	dev-support/docker/Dockerfile_aarch64
This commit is contained in:
Akira Ajisaka 2020-06-30 16:52:57 +09:00
parent 2eb6bf6bb1
commit 6827d49b10
No known key found for this signature in database
GPG Key ID: C1EDBB9CA400FD50
2 changed files with 4 additions and 4 deletions

View File

@ -144,10 +144,10 @@ ENV JAVA_HOME /usr/lib/jvm/java-8-openjdk-amd64
RUN pip3 install pylint==2.6.0 python-dateutil==2.8.1 RUN pip3 install pylint==2.6.0 python-dateutil==2.8.1
### ###
# Install node.js 8.17.0 for web UI framework (4.2.6 ships with Xenial) # Install node.js 10.21.0 for web UI framework (4.2.6 ships with Xenial)
### ###
RUN curl -L -s -S https://deb.nodesource.com/setup_8.x | bash - \ RUN curl -L -s -S https://deb.nodesource.com/setup_10.x | bash - \
&& apt-get install -y --no-install-recommends nodejs=8.17.0-1nodesource1 \ && apt-get install -y --no-install-recommends nodejs=10.21.0-1nodesource1 \
&& apt-get clean \ && apt-get clean \
&& rm -rf /var/lib/apt/lists/* \ && rm -rf /var/lib/apt/lists/* \
&& npm install -g bower@1.8.8 && npm install -g bower@1.8.8

View File

@ -143,7 +143,7 @@
<goal>install-node-and-yarn</goal> <goal>install-node-and-yarn</goal>
</goals> </goals>
<configuration> <configuration>
<nodeVersion>v8.17.0</nodeVersion> <nodeVersion>v10.21.0</nodeVersion>
<yarnVersion>v1.21.1</yarnVersion> <yarnVersion>v1.21.1</yarnVersion>
</configuration> </configuration>
</execution> </execution>