YARN-10367. Failed to get nodejs 10.21.0 when building docker image (#2171)

(cherry picked from commit e277d338da)
This commit is contained in:
Akira Ajisaka 2020-07-27 00:51:44 +09:00
parent 18ca80331c
commit 9263b75b3c
No known key found for this signature in database
GPG Key ID: C1EDBB9CA400FD50
2 changed files with 6 additions and 4 deletions

View File

@ -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

View File

@ -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