mirror of https://gitea.com/gitea/test-env.git
install nodejs into the container
This commit is contained in:
parent
7e0fd677a1
commit
9a7d3d6036
|
@ -33,7 +33,8 @@ RUN curl -SL https://github.com/git/git/archive/v${GIT_VERSION}.tar.gz \
|
||||||
&& apt-get install -y git-lfs \
|
&& apt-get install -y git-lfs \
|
||||||
# install golangci-lint
|
# install golangci-lint
|
||||||
&& go install github.com/golangci/golangci-lint/cmd/golangci-lint@v${GOLANGCI_LINT_VERSION} \
|
&& 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
|
USER gitea
|
||||||
RUN git config --global --add safe.directory '*'
|
RUN git config --global --add safe.directory '*'
|
||||||
|
|
Loading…
Reference in New Issue