YARN-10331. Upgrade node.js to 10.21.0. (#2106)
This commit is contained in:
parent
7e73cad974
commit
cd188ea9f0
|
@ -123,10 +123,10 @@ RUN pip2 install \
|
||||||
RUN pip2 install python-dateutil==2.7.3
|
RUN pip2 install python-dateutil==2.7.3
|
||||||
|
|
||||||
###
|
###
|
||||||
# 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
|
||||||
|
|
|
@ -184,10 +184,10 @@ RUN pip2 install \
|
||||||
RUN pip2 install python-dateutil==2.7.3
|
RUN pip2 install python-dateutil==2.7.3
|
||||||
|
|
||||||
###
|
###
|
||||||
# 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
|
||||||
|
|
|
@ -184,7 +184,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>
|
||||||
|
|
Loading…
Reference in New Issue