YARN-10367. Failed to get nodejs 10.21.0 when building docker image (#2171)
This commit is contained in:
parent
4b1816c7d0
commit
e277d338da
@ -138,10 +138,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
|
||||
|
@ -141,10 +141,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
|
||||
|
Loading…
Reference in New Issue
Block a user