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
commit 60bad9a4e5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions

@ -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

@ -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