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:
ardevd 2023-06-06 00:30:37 +02:00
parent 6833df5236
commit 88e8bae75c

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=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 \
go list -f '{{.Version}}' -m google.golang.org/protobuf)