docker: correct comment concerning lnd build/install

This commit is contained in:
ffranr
2022-11-22 11:54:24 +00:00
parent ca501d920e
commit 8dfb2023a9

View File

@@ -12,7 +12,7 @@ LABEL maintainer="Olaoluwa Osuntokun <laolu@lightning.engineering>"
# queries required to connect to linked containers succeed. # queries required to connect to linked containers succeed.
ENV GODEBUG netdns=cgo ENV GODEBUG netdns=cgo
# Install dependencies and install/build lnd. # Install dependencies.
RUN apk add --no-cache --update alpine-sdk \ RUN apk add --no-cache --update alpine-sdk \
git \ git \
make make
@@ -20,6 +20,7 @@ RUN apk add --no-cache --update alpine-sdk \
# Copy in the local repository to build from. # Copy in the local repository to build from.
COPY . /go/src/github.com/lightningnetwork/lnd COPY . /go/src/github.com/lightningnetwork/lnd
# Install/build lnd.
RUN cd /go/src/github.com/lightningnetwork/lnd \ RUN cd /go/src/github.com/lightningnetwork/lnd \
&& make \ && make \
&& make install tags="signrpc walletrpc chainrpc invoicesrpc peersrpc" && make install tags="signrpc walletrpc chainrpc invoicesrpc peersrpc"