mirror of
https://github.com/lightningnetwork/lnd.git
synced 2025-09-01 18:27:43 +02:00
build: add sqlite support to the dev.Dockerfile build
This commit is contained in:
@@ -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
|
||||
|
Reference in New Issue
Block a user