From f5f0b2107b2d05bb9b3a4bc1bd46f9a61863be15 Mon Sep 17 00:00:00 2001 From: Oliver Gugger Date: Wed, 18 Mar 2020 08:54:28 +0100 Subject: [PATCH] docker: pin down btcd version There was a recent change merged into btcd that isn't backward compatible with older RPC clients. To make sure our docker quick start example still works, we need to pin down btcd to the version that is still compatible with lnd. --- docker/btcd/Dockerfile | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/docker/btcd/Dockerfile b/docker/btcd/Dockerfile index 6f6ec39d..5de4a389 100644 --- a/docker/btcd/Dockerfile +++ b/docker/btcd/Dockerfile @@ -7,8 +7,12 @@ 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.20.1-beta + # Grab and install the latest version of of btcd and all related dependencies. RUN git clone https://github.com/btcsuite/btcd.git . \ + && git checkout $BTCD_VERSION \ && GO111MODULE=on go install -v . ./cmd/... # Start a new image