tools: fix lint VSC permission error

This commit is contained in:
Oliver Gugger 2023-01-05 08:58:10 +01:00
parent 7497edf443
commit 4050fe5dc4
No known key found for this signature in database
GPG key ID: 8E4256593F177720

View file

@ -11,6 +11,7 @@ RUN cd /tmp \
&& mkdir -p /tmp/build/.modcache \
&& cd /tmp/tools \
&& go install -trimpath -tags=tools github.com/golangci/golangci-lint/cmd/golangci-lint \
&& chmod -R 777 /tmp/build/
&& chmod -R 777 /tmp/build/ \
&& git config --global --add safe.directory /build
WORKDIR /build