From 88e8bae75ca759b4b805eee92ac9773f0fad7fa5 Mon Sep 17 00:00:00 2001 From: ardevd Date: Tue, 6 Jun 2023 00:30:37 +0200 Subject: [PATCH] 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. --- lnrpc/gen_protos_docker.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lnrpc/gen_protos_docker.sh b/lnrpc/gen_protos_docker.sh index 1d6fc5bf3..d3ecb248f 100755 --- a/lnrpc/gen_protos_docker.sh +++ b/lnrpc/gen_protos_docker.sh @@ -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)