YARN-10560. Upgrade node.js to 10.23.1 and yarn to 1.22.5 in Web UI v2. (#2592)

(cherry picked from commit ae4945fb2c)
This commit is contained in:
Akira Ajisaka 2021-01-06 12:12:46 +09:00
parent 9e85eb9a2e
commit 3748c258f9
No known key found for this signature in database
GPG Key ID: C1EDBB9CA400FD50
3 changed files with 6 additions and 6 deletions

View File

@ -188,12 +188,12 @@ RUN curl -L -s -S https://deb.nodesource.com/setup_10.x | bash - \
&& npm install -g bower@1.8.8 && npm install -g bower@1.8.8
### ###
## Install Yarn 1.12.1 for web UI framework ## Install Yarn 1.22.5 for web UI framework
#### ####
RUN curl -s -S https://dl.yarnpkg.com/debian/pubkey.gpg | apt-key add - \ RUN curl -s -S https://dl.yarnpkg.com/debian/pubkey.gpg | apt-key add - \
&& echo 'deb https://dl.yarnpkg.com/debian/ stable main' > /etc/apt/sources.list.d/yarn.list \ && echo 'deb https://dl.yarnpkg.com/debian/ stable main' > /etc/apt/sources.list.d/yarn.list \
&& apt-get -q update \ && apt-get -q update \
&& apt-get install -y --no-install-recommends yarn=1.21.1-1 \ && apt-get install -y --no-install-recommends yarn=1.22.5-1 \
&& apt-get clean \ && apt-get clean \
&& rm -rf /var/lib/apt/lists/* && rm -rf /var/lib/apt/lists/*

View File

@ -196,12 +196,12 @@ RUN curl -L -s -S https://deb.nodesource.com/setup_10.x | bash - \
&& npm install -g bower@1.8.8 && npm install -g bower@1.8.8
### ###
## Install Yarn 1.12.1 for web UI framework ## Install Yarn 1.22.5 for web UI framework
#### ####
RUN curl -s -S https://dl.yarnpkg.com/debian/pubkey.gpg | apt-key add - \ RUN curl -s -S https://dl.yarnpkg.com/debian/pubkey.gpg | apt-key add - \
&& echo 'deb https://dl.yarnpkg.com/debian/ stable main' > /etc/apt/sources.list.d/yarn.list \ && echo 'deb https://dl.yarnpkg.com/debian/ stable main' > /etc/apt/sources.list.d/yarn.list \
&& apt-get -q update \ && apt-get -q update \
&& apt-get install -y --no-install-recommends yarn=1.21.1-1 \ && apt-get install -y --no-install-recommends yarn=1.22.5-1 \
&& apt-get clean \ && apt-get clean \
&& rm -rf /var/lib/apt/lists/* && rm -rf /var/lib/apt/lists/*

View File

@ -184,8 +184,8 @@
<goal>install-node-and-yarn</goal> <goal>install-node-and-yarn</goal>
</goals> </goals>
<configuration> <configuration>
<nodeVersion>v10.21.0</nodeVersion> <nodeVersion>v10.23.1</nodeVersion>
<yarnVersion>v1.21.1</yarnVersion> <yarnVersion>v1.22.5</yarnVersion>
</configuration> </configuration>
</execution> </execution>
<execution> <execution>