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

This commit is contained in:
Akira Ajisaka 2020-07-27 00:51:44 +09:00 committed by GitHub
parent 4b1816c7d0
commit e277d338da
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 6 additions and 4 deletions

View File

@ -138,10 +138,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

@ -141,10 +141,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