-
Notifications
You must be signed in to change notification settings - Fork 58
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
multi: bump and adjust linter, fix issues
Not strictly necessary to fix the linter issues caused by the version bump, but nice to have.
- Loading branch information
Showing
5 changed files
with
349 additions
and
311 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,17 +1,17 @@ | ||
FROM golang:1.19.2-buster | ||
FROM golang:1.21.4-bookworm | ||
|
||
RUN apt-get update && apt-get install -y git | ||
ENV GOCACHE=/tmp/build/.cache | ||
ENV GOMODCACHE=/tmp/build/.modcache | ||
ENV GOFLAGS="-buildvcs=false" | ||
|
||
COPY . /tmp/tools | ||
|
||
RUN cd /tmp \ | ||
&& mkdir -p /tmp/build/.cache \ | ||
&& 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/ \ | ||
&& git config --global --add safe.directory /build | ||
&& go install -trimpath github.com/golangci/golangci-lint/cmd/golangci-lint \ | ||
&& chmod -R 777 /tmp/build/ | ||
|
||
WORKDIR /build |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.