mirror of
https://github.com/lightningnetwork/lnd.git
synced 2025-06-25 00:03:46 +02:00
lnrpc: migrate deprecated go get
to go install
Starting in Go 1.17, installing executables with go get is deprecated. Migrate our docker file for lnrpc protos.
This commit is contained in:
parent
cac8da819f
commit
416a96e2c1
@ -331,6 +331,8 @@ messages directly. There is no routing/path finding involved.
|
|||||||
add MacChan field for passing back lnd's admin macaroon back to the program
|
add MacChan field for passing back lnd's admin macaroon back to the program
|
||||||
calling lnd, when needed.
|
calling lnd, when needed.
|
||||||
|
|
||||||
|
* Using `go get` to install go executables is now deprecated. Migrate to `go install` our lnrpc proto dockerfile [Migrate `go get` to `go install`](https://github.com/lightningnetwork/lnd/pull/5879)
|
||||||
|
|
||||||
## Code Health
|
## Code Health
|
||||||
|
|
||||||
### Code cleanup, refactor, typo fixes
|
### Code cleanup, refactor, typo fixes
|
||||||
@ -544,6 +546,7 @@ change](https://github.com/lightningnetwork/lnd/pull/5613).
|
|||||||
* Harsha Goli
|
* Harsha Goli
|
||||||
* Jesse de Wit
|
* Jesse de Wit
|
||||||
* Joost Jager
|
* Joost Jager
|
||||||
|
* Jordi Montes
|
||||||
* Martin Habovstiak
|
* Martin Habovstiak
|
||||||
* Naveen Srinivasan
|
* Naveen Srinivasan
|
||||||
* Oliver Gugger
|
* Oliver Gugger
|
||||||
|
@ -20,12 +20,12 @@ RUN cd /tmp \
|
|||||||
&& mkdir -p /tmp/build/.cache \
|
&& mkdir -p /tmp/build/.cache \
|
||||||
&& mkdir -p /tmp/build/.modcache \
|
&& mkdir -p /tmp/build/.modcache \
|
||||||
&& export GO111MODULE=on \
|
&& export GO111MODULE=on \
|
||||||
&& go get google.golang.org/protobuf/cmd/protoc-gen-go@${PROTOBUF_VERSION} \
|
&& go install google.golang.org/protobuf/cmd/protoc-gen-go@${PROTOBUF_VERSION} \
|
||||||
&& go get google.golang.org/grpc/cmd/protoc-gen-go-grpc@${PROTOC_GEN_GO_GRPC_VERSION} \
|
&& go install google.golang.org/grpc/cmd/protoc-gen-go-grpc@${PROTOC_GEN_GO_GRPC_VERSION} \
|
||||||
&& go get github.com/grpc-ecosystem/grpc-gateway/v2/protoc-gen-grpc-gateway@${GRPC_GATEWAY_VERSION} \
|
&& go install github.com/grpc-ecosystem/grpc-gateway/v2/protoc-gen-grpc-gateway@${GRPC_GATEWAY_VERSION} \
|
||||||
&& go get github.com/grpc-ecosystem/grpc-gateway/v2/protoc-gen-openapiv2@${GRPC_GATEWAY_VERSION} \
|
&& go install github.com/grpc-ecosystem/grpc-gateway/v2/protoc-gen-openapiv2@${GRPC_GATEWAY_VERSION} \
|
||||||
&& go get github.com/lightninglabs/falafel@${FALAFEL_VERSION} \
|
&& go install github.com/lightninglabs/falafel@${FALAFEL_VERSION} \
|
||||||
&& go get golang.org/x/tools/cmd/goimports \
|
&& go install golang.org/x/tools/cmd/goimports@v0.1.7 \
|
||||||
&& chmod -R 777 /tmp/build/
|
&& chmod -R 777 /tmp/build/
|
||||||
|
|
||||||
WORKDIR /build
|
WORKDIR /build
|
||||||
|
Loading…
x
Reference in New Issue
Block a user