mirror of https://gitea.com/gitea/test-env.git
add a non-root user to testing image
This commit is contained in:
parent
5cbc2c5b39
commit
35654ada42
|
@ -13,4 +13,6 @@ RUN curl -SL https://github.com/git/git/archive/v2.33.0.tar.gz \
|
||||||
&& apt-get install -y git-lfs \
|
&& apt-get install -y git-lfs \
|
||||||
# install golangci-lint
|
# install golangci-lint
|
||||||
&& export BINARY="golangci-lint" \
|
&& export BINARY="golangci-lint" \
|
||||||
&& curl -sfL https://install.goreleaser.com/github.com/golangci/golangci-lint.sh | sh -s -- -b $(go env GOPATH)/bin v1.37.0
|
&& curl -sfL https://install.goreleaser.com/github.com/golangci/golangci-lint.sh | sh -s -- -b $(go env GOPATH)/bin v1.37.0
|
||||||
|
|
||||||
|
RUN useradd -d -ms /bin/bash gitea
|
Loading…
Reference in New Issue