Skip to content

Commit 4050fe5

Browse files
committed
tools: fix lint VSC permission error
1 parent 7497edf commit 4050fe5

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

tools/Dockerfile

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@ RUN cd /tmp \
1111
&& mkdir -p /tmp/build/.modcache \
1212
&& cd /tmp/tools \
1313
&& go install -trimpath -tags=tools github.com/golangci/golangci-lint/cmd/golangci-lint \
14-
&& chmod -R 777 /tmp/build/
14+
&& chmod -R 777 /tmp/build/ \
15+
&& git config --global --add safe.directory /build
1516

1617
WORKDIR /build

0 commit comments

Comments
 (0)