mirror of
https://github.com/lightninglabs/lightning-terminal.git
synced 2026-08-13 12:33:36 +02:00
Bumps lnd to v0.21.0-beta, lndclient to v0.21.0-1, and taproot-assets to v0.8.0 across the root, litrpc, and perms modules. taprpc uses the proper v1.1.0 tag. lnd removed the deprecated SendPaymentSync, SendToRouteSync, SendPayment (streaming), and SendToRoute (streaming) RPCs. The account interceptor checkers and their tests for these RPCs are removed since no client can call them anymore. The V2 checkers already handle account tracking for payments. The itest harness is updated for lnd v0.21's miner API changes (SendOutputs -> SendOutput, Miner.Client.Generate -> GenerateBlocks, waitForNTxsInMempool replaced by Miner.AssertNumTxsInMempool) and TimeLockDelta bumped from 20 to 40 since lnd v0.21 raised MinCLTVDelta from 18 to 24.
28 lines
870 B
Docker
28 lines
870 B
Docker
FROM golang:1.25.10-bookworm@sha256:154bd7001b6eb339e88c964442c0ad6ed5e53f09844cc818a41ce4ecb3ce3b43
|
|
|
|
MAINTAINER Olaoluwa Osuntokun <laolu@lightning.engineering>
|
|
|
|
# Golang build related environment variables that are static and used for all
|
|
# architectures/OSes.
|
|
ENV GODEBUG netdns=cgo
|
|
ENV GO111MODULE=auto
|
|
ENV CGO_ENABLED=0
|
|
|
|
# Set up cache directories. Those will be mounted from the host system to speed
|
|
# up builds. If go isn't installed on the host system, those will fall back to
|
|
# temp directories during the build (see make/release_flags.mk).
|
|
ENV GOCACHE=/tmp/build/.cache
|
|
ENV GOMODCACHE=/tmp/build/.modcache
|
|
|
|
RUN apt-get update && apt-get install -y \
|
|
git \
|
|
make \
|
|
tar \
|
|
zip \
|
|
bash \
|
|
&& mkdir -p /tmp/build/litd \
|
|
&& mkdir -p /tmp/build/.cache \
|
|
&& mkdir -p /tmp/build/.modcache \
|
|
&& chmod -R 777 /tmp/build/
|
|
|
|
WORKDIR /tmp/build/litd
|