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
This commit is contained in:
Harsha 2023-07-10 01:00:57 +01:00 committed by GitHub
parent 86e7b4e1e0
commit d9f3a12f57
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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 . \