From 7d31467973a50ce3efb3e4574976b51fe246eae6 Mon Sep 17 00:00:00 2001 From: Geoff Taylor Date: Thu, 18 Apr 2019 15:04:36 +0100 Subject: [PATCH 1/2] Build LND subservers when building docker image Now that the official releases are built with subservers, can/should we build docker images with subservers by default too? This one-line change is all I needed to do to build LND with subservers so loop would work with the docker image. --- docker/lnd/Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docker/lnd/Dockerfile b/docker/lnd/Dockerfile index 39fa8490..406655b3 100644 --- a/docker/lnd/Dockerfile +++ b/docker/lnd/Dockerfile @@ -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 From b3d3ba861203bf50223a7f38f06ecf6939b94003 Mon Sep 17 00:00:00 2001 From: Geoff Taylor Date: Thu, 9 May 2019 15:16:36 +0100 Subject: [PATCH 2/2] Root Dockerfile now builds subservers Root Dockerfile now builds subservers required for Loop functionality. --- Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index 6420086b..d28cc802 100644 --- a/Dockerfile +++ b/Dockerfile @@ -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