Merge pull request #2974 from OpinionatedGeek/patch-1
Build LND subservers when building docker image
This commit is contained in:
commit
60bad9a4e5
@ -12,7 +12,7 @@ RUN apk add --no-cache --update alpine-sdk \
|
|||||||
&& git clone https://github.com/lightningnetwork/lnd /go/src/github.com/lightningnetwork/lnd \
|
&& git clone https://github.com/lightningnetwork/lnd /go/src/github.com/lightningnetwork/lnd \
|
||||||
&& cd /go/src/github.com/lightningnetwork/lnd \
|
&& cd /go/src/github.com/lightningnetwork/lnd \
|
||||||
&& make \
|
&& make \
|
||||||
&& make install
|
&& make install tags="signrpc walletrpc chainrpc invoicesrpc"
|
||||||
|
|
||||||
# Start a new, final image.
|
# Start a new, final image.
|
||||||
FROM alpine as final
|
FROM alpine as final
|
||||||
|
@ -15,7 +15,7 @@ RUN apk add --no-cache --update alpine-sdk \
|
|||||||
make \
|
make \
|
||||||
&& cd /go/src/github.com/lightningnetwork/lnd \
|
&& cd /go/src/github.com/lightningnetwork/lnd \
|
||||||
&& make \
|
&& make \
|
||||||
&& make install
|
&& make install tags="signrpc walletrpc chainrpc invoicesrpc"
|
||||||
|
|
||||||
# Start a new, final image to reduce size.
|
# Start a new, final image to reduce size.
|
||||||
FROM alpine as final
|
FROM alpine as final
|
||||||
|
Loading…
Reference in New Issue
Block a user