forked from lightninglabs/aperture
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request lightninglabs#123 from lightninglabs/opentelemetry…
…-fix mod+linter: fix go.opentelemetry.io dependency bump
- Loading branch information
Showing
7 changed files
with
375 additions
and
327 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
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 |
Oops, something went wrong.