Merge pull request #2974 from OpinionatedGeek/patch-1

Build LND subservers when building docker image
This commit is contained in:
Johan T. Halseth
2019-05-20 14:40:53 +02:00
committed by GitHub
2 changed files with 2 additions and 2 deletions

View File

@@ -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 \
&& cd /go/src/github.com/lightningnetwork/lnd \
&& make \
&& make install
&& make install tags="signrpc walletrpc chainrpc invoicesrpc"
# Start a new, final image.
FROM alpine as final

View File

@@ -15,7 +15,7 @@ RUN apk add --no-cache --update alpine-sdk \
make \
&& cd /go/src/github.com/lightningnetwork/lnd \
&& make \
&& make install
&& make install tags="signrpc walletrpc chainrpc invoicesrpc"
# Start a new, final image to reduce size.
FROM alpine as final