mirror of
https://github.com/lightningnetwork/lnd.git
synced 2025-10-04 19:44:27 +02:00
fix: use full image name for gen_protos_docker.sh
By defining the full name for the docker image we avoid the issue that occurs when using `podman` (tested on Fedora 38) where podman will prompt the user for what docker repository to pull the image from.
This commit is contained in:
@@ -6,7 +6,7 @@ set -e
|
|||||||
DIR="$(cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd)"
|
DIR="$(cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd)"
|
||||||
|
|
||||||
# golang docker image version used in this script.
|
# golang docker image version used in this script.
|
||||||
GO_IMAGE=golang:1.20.4-alpine
|
GO_IMAGE=docker.io/library/golang:1.20.4-alpine
|
||||||
|
|
||||||
PROTOBUF_VERSION=$(docker run --rm -v $DIR/../:/lnd -w /lnd $GO_IMAGE \
|
PROTOBUF_VERSION=$(docker run --rm -v $DIR/../:/lnd -w /lnd $GO_IMAGE \
|
||||||
go list -f '{{.Version}}' -m google.golang.org/protobuf)
|
go list -f '{{.Version}}' -m google.golang.org/protobuf)
|
||||||
|
Reference in New Issue
Block a user