Upgrade to Node 20 (#26)

Same as in https://github.com/go-gitea/gitea/pull/24524.

Reviewed-on: https://gitea.com/gitea/test-env/pulls/26
Co-authored-by: silverwind <me@silverwind.io>
Co-committed-by: silverwind <me@silverwind.io>
This commit is contained in:
silverwind 2023-06-01 18:21:00 +00:00 committed by techknowlogick
parent 7d38483860
commit f3a5cc97dc
1 changed files with 1 additions and 1 deletions

View File

@ -34,7 +34,7 @@ RUN curl -SL https://github.com/git/git/archive/v${GIT_VERSION}.tar.gz \
# install golangci-lint
&& go install github.com/golangci/golangci-lint/cmd/golangci-lint@v${GOLANGCI_LINT_VERSION} \
&& golangci-lint --version \
&& curl -sL https://deb.nodesource.com/setup_18.x | bash - && apt-get -qqy install nodejs
&& curl -sL https://deb.nodesource.com/setup_20.x | bash - && apt-get -qqy install nodejs
USER gitea
RUN git config --global --add safe.directory '*'