build: add sqlite support to the dev.Dockerfile build
This commit is contained in:
1 file changed
+4
-4
+4
-4
@@ -1,6 +1,6 @@
|
|||||||
# If you change this please also update GO_VERSION in Makefile (then run
|
# If you change this please also update GO_VERSION in Makefile (then run
|
||||||
# `make lint` to see where else it needs to be updated as well).
|
# `make lint` to see where else it needs to be updated as well).
|
||||||
FROM golang:1.23.6-alpine as builder
|
FROM golang:1.23.6-alpine AS builder
|
||||||
|
|
||||||
LABEL maintainer="Olaoluwa Osuntokun <laolu@lightning.engineering>"
|
LABEL maintainer="Olaoluwa Osuntokun <laolu@lightning.engineering>"
|
||||||
|
|
||||||
@@ -19,11 +19,11 @@ COPY . /go/src/github.com/lightningnetwork/lnd
|
|||||||
|
|
||||||
# Install/build lnd.
|
# Install/build lnd.
|
||||||
RUN cd /go/src/github.com/lightningnetwork/lnd \
|
RUN cd /go/src/github.com/lightningnetwork/lnd \
|
||||||
&& make \
|
&& make \
|
||||||
&& make install-all tags="signrpc walletrpc chainrpc invoicesrpc peersrpc"
|
&& make install-all tags="signrpc walletrpc chainrpc invoicesrpc peersrpc kvdb_sqlite"
|
||||||
|
|
||||||
# Start a new, final image to reduce size.
|
# Start a new, final image to reduce size.
|
||||||
FROM alpine as final
|
FROM alpine AS final
|
||||||
|
|
||||||
# Expose lnd ports (server, rpc).
|
# Expose lnd ports (server, rpc).
|
||||||
EXPOSE 9735 10009
|
EXPOSE 9735 10009
|
||||||
|
|||||||
Reference in new issue
Block a user