mirror of
https://github.com/lightningnetwork/lnd.git
synced 2025-09-02 03:54:26 +02:00
Merge pull request #2974 from OpinionatedGeek/patch-1
Build LND subservers when building docker image
This commit is contained in:
@@ -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
|
||||||
|
Reference in New Issue
Block a user