Merge pull request #4094 from guggero/btcd-docker
docker: pin down btcd version
This commit is contained in:
commit
8a9b7595b7
@ -7,8 +7,12 @@ RUN apk add --no-cache git gcc musl-dev
|
|||||||
|
|
||||||
WORKDIR $GOPATH/src/github.com/btcsuite/btcd
|
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.
|
# Grab and install the latest version of of btcd and all related dependencies.
|
||||||
RUN git clone https://github.com/btcsuite/btcd.git . \
|
RUN git clone https://github.com/btcsuite/btcd.git . \
|
||||||
|
&& git checkout $BTCD_VERSION \
|
||||||
&& GO111MODULE=on go install -v . ./cmd/...
|
&& GO111MODULE=on go install -v . ./cmd/...
|
||||||
|
|
||||||
# Start a new image
|
# Start a new image
|
||||||
|
Loading…
Reference in New Issue
Block a user