YARN-10367. Failed to get nodejs 10.21.0 when building docker image (#2171)
(cherry picked from commit e277d338da
)
This commit is contained in:
parent
18ca80331c
commit
9263b75b3c
|
@ -177,10 +177,11 @@ RUN pip2 install \
|
||||||
RUN pip2 install python-dateutil==2.7.3
|
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 - \
|
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 \
|
&& 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,11 @@ RUN pip2 install \
|
||||||
RUN pip2 install python-dateutil==2.7.3
|
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 - \
|
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 \
|
&& 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
|
||||||
|
|
Loading…
Reference in New Issue