install nodejs into the container

This commit is contained in:
techknowlogick 2023-05-02 09:07:55 +08:00
parent 7e0fd677a1
commit 9a7d3d6036
1 changed files with 2 additions and 1 deletions

View File

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