Merge pull request #8984 from guggero/make-rpc

lnrpc: avoid needing to download Golang
This commit is contained in:
Oliver Gugger 2024-08-07 01:36:00 -06:00 committed by GitHub
commit 9271b5ebbe
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 3 additions and 3 deletions

4
go.mod
View File

@ -204,8 +204,8 @@ replace github.com/gogo/protobuf => github.com/gogo/protobuf v1.3.2
// allows us to specify that as an option.
replace google.golang.org/protobuf => github.com/lightninglabs/protobuf-go-hex-display v1.30.0-hex-display
// If you change this please also update .github/pull_request_template.md and
// docs/INSTALL.md.
// If you change this please also update .github/pull_request_template.md,
// docs/INSTALL.md and GO_IMAGE in lnrpc/gen_protos_docker.sh.
go 1.21.4
retract v0.0.2

View File

@ -6,7 +6,7 @@ set -e
DIR="$(cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd)"
# golang docker image version used in this script.
GO_IMAGE=docker.io/library/golang:1.21.0-alpine
GO_IMAGE=docker.io/library/golang:1.21.4-alpine
PROTOBUF_VERSION=$(docker run --rm -v $DIR/../:/lnd -w /lnd $GO_IMAGE \
go list -f '{{.Version}}' -m google.golang.org/protobuf)