Skip to content

Commit

Permalink
ci: fix lint VSC permissions error
Browse files Browse the repository at this point in the history
  • Loading branch information
positiveblue committed Jan 4, 2023
1 parent 1a1b954 commit 677f33d
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion tools/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,9 @@ 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
# The last line is needed to ensure that go build is able to gather
# information from the vsc used in the builds to get the commit hash.

WORKDIR /build

0 comments on commit 677f33d

Please sign in to comment.