From d9f3a12f57491a4a521daec4614b6c69da57a884 Mon Sep 17 00:00:00 2001 From: Harsha Date: Mon, 10 Jul 2023 01:00:57 +0100 Subject: [PATCH] Fix docker compose run issue docker-compose run -d --name alice --volume simnet_lnd_alice:/root/.lnd lnd => ERROR [builder 4/4] RUN git clone https://github.com/btcsuite/btcd.git . && git checkout v0.23 6.2s ------ > [builder 4/4] RUN git clone https://github.com/btcsuite/btcd.git . && git checkout v0.23.5 && go install -v . ./cmd/...: #0 0.253 Cloning into '.'... #0 6.059 error: pathspec 'v0.23.5' did not match any file(s) known to git ------ failed to solve: executor failed running [/bin/sh -c git clone https://github.com/btcsuite/btcd.git . && git checkout $BTCD_VERSION && go install -v . ./cmd/...]: exit code: 1 --- docker/btcd/Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docker/btcd/Dockerfile b/docker/btcd/Dockerfile index ca5e7fffa..9626799f4 100644 --- a/docker/btcd/Dockerfile +++ b/docker/btcd/Dockerfile @@ -8,7 +8,7 @@ RUN apk add --no-cache git gcc musl-dev WORKDIR $GOPATH/src/github.com/btcsuite/btcd # Pin down btcd to a version that we know works with lnd. -ARG BTCD_VERSION=v0.23.5 +ARG BTCD_VERSION=v0.23.4 # Grab and install the latest version of of btcd and all related dependencies. RUN git clone https://github.com/btcsuite/btcd.git . \