build: add sqlite support to the dev.Dockerfile build

This commit is contained in:
Andras Banki-Horvath
2025-03-28 19:04:59 +01:00
parent b6d8ecc747
commit be2bab90ce

View File

@@ -1,6 +1,6 @@
# 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).
FROM golang:1.23.6-alpine as builder
FROM golang:1.23.6-alpine AS builder
LABEL maintainer="Olaoluwa Osuntokun <laolu@lightning.engineering>"
@@ -19,11 +19,11 @@ COPY . /go/src/github.com/lightningnetwork/lnd
# Install/build lnd.
RUN cd /go/src/github.com/lightningnetwork/lnd \
&& make \
&& make install-all tags="signrpc walletrpc chainrpc invoicesrpc peersrpc"
&& make \
&& make install-all tags="signrpc walletrpc chainrpc invoicesrpc peersrpc kvdb_sqlite"
# Start a new, final image to reduce size.
FROM alpine as final
FROM alpine AS final
# Expose lnd ports (server, rpc).
EXPOSE 9735 10009