Merge "Use nodejs 14"

This commit is contained in:
Zuul 2021-08-03 17:58:17 +00:00 committed by Gerrit Code Review
commit 125a330769

View File

@ -32,7 +32,7 @@ ENV TAGS "bindata $TAGS"
#Build deps #Build deps
RUN apt-get update && apt-get -y install build-essential git apt-transport-https curl gnupg2 \ RUN apt-get update && apt-get -y install build-essential git apt-transport-https curl gnupg2 \
&& curl -sS https://deb.nodesource.com/gpgkey/nodesource.gpg.key | apt-key add - \ && curl -sS https://deb.nodesource.com/gpgkey/nodesource.gpg.key | apt-key add - \
&& echo "deb https://deb.nodesource.com/node_16.x buster main" | tee /etc/apt/sources.list.d/nodesource.list \ && echo "deb https://deb.nodesource.com/node_14.x buster main" | tee /etc/apt/sources.list.d/nodesource.list \
&& apt-get update \ && apt-get update \
&& apt-get -q --option "Dpkg::Options::=--force-confold" --assume-yes install nodejs \ && apt-get -q --option "Dpkg::Options::=--force-confold" --assume-yes install nodejs \
&& mkdir -p ${GOPATH}/src/code.gitea.io/gitea && mkdir -p ${GOPATH}/src/code.gitea.io/gitea