Building docker compose with our custom lnd

This commit is contained in:
rockstardev
2018-05-01 19:02:57 -05:00
parent 75f4a39ef2
commit f4f9fabfd3
2 changed files with 3 additions and 2 deletions

View File

@@ -10,10 +10,10 @@ ENV GODEBUG netdns=cgo
RUN go get -u github.com/golang/dep/cmd/dep
# Grab and install the latest version of lnd and all related dependencies.
RUN git clone https://github.com/lightningnetwork/lnd $GOPATH/src/github.com/lightningnetwork/lnd
RUN git clone -b dev https://github.com/btcpayserver/lnd $GOPATH/src/github.com/btcpayserver/lnd
# Make lnd folder default.
WORKDIR $GOPATH/src/github.com/lightningnetwork/lnd
WORKDIR $GOPATH/src/github.com/btcpayserver/lnd
# Install dependencies and install/build lnd.
RUN dep ensure

View File

@@ -49,6 +49,7 @@ CHAIN=$(set_default "$CHAIN" "bitcoin")
BACKEND=$(set_default "$BACKEND" "bitcoind")
exec lnd \
--no-macaroons \
--noencryptwallet \
--logdir="/data" \
"--$CHAIN.active" \