Commit graph

36 commits

Author SHA1 Message Date
ziggie
41a6c8b3f7
build: bump go to v1.25.11 2026-07-10 19:24:26 -03:00
Calvin Zachman
862c1dba9d
multi: bump lnd, lndclient, and taproot-assets dependencies
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.
2026-06-08 13:18:37 -04:00
ZZiigguurraatt
91b43118c7 build: bump go to v1.25.5 2026-03-03 14:25:35 -05:00
ZZiigguurraatt
432a228bd6 build: bump go to v1.24.11 2026-02-05 02:57:05 -05:00
ZZiigguurraatt
3d9436ec78 dev.Dockerfile: use cache mounts to speed up rebuilding 2025-11-19 15:27:53 -05:00
ZZiigguurraatt
ba840892bb build: bump go to v1.24.9 2025-10-24 16:48:53 -04:00
Viktor Torstensson
d6b75578be
Merge pull request #1142 from ZZiigguurraatt/dev_Dockerfile_CGO_ENABLED
dev.Dockerfile: add CGO_ENABLED build arg
2025-10-16 17:08:42 +02:00
ZZiigguurraatt
3c5ddb955e
dev.Dockerfile: allow forcing lnd/tapd/taprpc/loop repo
We can now use the LND_REPO, TAPROOT_ASSETS_REPO, TAPRPC_REPO, and
LOOP_RPC build arguments to force a specific repo to be used so that
commits referenced by LND_VERSION, TAPROOT_ASSETS_VERSION,
TAPRPC_VERSION, and LOOP_VERSION don't have to exist in the default
repository. If any of these build arguments are not defined, the build
continues using the default repository for that module.

NOTE: If these arguments ARE defined then the corresponding
`_VERSION` argument MUST also be defined, otherwise the build continues
using the default repository defined for that module.
2025-10-14 11:38:39 +02:00
ZZiigguurraatt
ad2d802bf9 dev.Dockerfile: add CGO_ENABLED build arg 2025-10-13 14:56:07 -04:00
George Tsagkarelis
69ca6587b7
build: bump go to v1.24.6 2025-09-18 12:05:28 +02:00
Elle Mouton
eb1d081314
build: bump go version to 1.23.12 2025-08-07 11:10:39 +02:00
ZZiigguurraatt
c3ff3e91b0 dev.Dockerfile: allow forcing a taprpc version
We can now use the `TAPRPC_VERSION` build argument to force a specific
taprpc version to be used when building. If the `TAPRPC_VERSION` build
argument is not set, then build continues as before this change and uses
the version already defined in `go.mod` and `go.sum`.
2025-07-16 15:43:08 -04:00
ZZiigguurraatt
2d3379b422 dev.Dockerfile: allow forcing an lnd version
We can now use the `LND_VERSION` build argument to force a specific LND
version to be used when building. If the `LND_VERSION` build argument is
not set, then build continues as before this change and uses the version
already defined in `go.mod` and `go.sum`.
2025-06-16 16:36:49 -04:00
Oliver Gugger
503a295252
multi: bump Golang to 1.23.9
Fixes several CVEs by using the latest Golang version to build.
2025-05-21 19:25:30 +02:00
ZZiigguurraatt
ac37b6745f dev.Dockerfile: allow skipping build of the web UI
We now run `make go-install-noui` and `make go-install-cli-noui` when
the `NO_UI` build arg is set to 1 to skip building of the web UI when
using the development docker container. If the `NO_UI` build arg is not
set, `make go-install` and `make go-install-cli` are run as before the
`NO_UI` build arg existed.
2025-05-07 14:49:03 -04:00
Elle Mouton
1a8f20bebf
multi: bump docker go versions
Bump the go version in our various docker files.
2025-03-15 11:37:17 -05:00
ZZiigguurraatt
41b438945b
dev.Dockerfile: allow forcing a specific taproot-assets version through a build argument 2024-12-19 21:21:40 +01:00
Viktor Tigerström
5dc8e14a07
lightning-terminal: install git for nodejsbuilder 2024-10-25 19:39:48 +02:00
Oliver Gugger
c9e632e38d
docker: pin all docker images with their hash 2024-10-23 14:53:32 +02:00
Oliver Gugger
65144f2c97
GitHub+docker: update to Go 1.22.6 2024-10-23 11:50:41 +02:00
Viktor Tigerström
1165e4d85a
proto + app: bump node + protoc & make protos
In the next commit, we'll bump our lnd dependency to `v0.18.3-beta`.
That version adds explicitly declared optional protos fields with commit
3de6c5415a

Optional proto fields are only available in Proto3 after protoc version
`3.15+`, and we therefore need to bump our protoc version for the protos
generation script to support them.

When doing so, we mimic the protobuf-compiler version used in `lnd`,
which is `3.21.12`. As protobuf-compiler 3.21.x+ is only available for
Node.js base images with Debian 12 (bookworm), we also update our NodeJS
base image to version 22.8.0-bookworm.
2024-09-16 12:50:55 +07:00
Viktor Tigerström
6d2e90a835
GitHub+Dockerfile: bump Go version to v1.22.3 2024-06-06 13:45:18 -04:00
jamaljsr
81850ca309
multi: update to go 1.21 2023-11-03 13:39:34 -05:00
Oliver Gugger
a6a3ab6c24
release+make: also build tapcli 2023-05-16 17:00:55 +02:00
positiveblue
c267ef64eb
multi: update lnd dependency to v0.16.0-beta.rc3
- Bump lnd and other module dependencies.
- Bump Go build version & RPCs
- Refactor itests to use the new lnd itest framework.
2023-03-15 08:36:23 -07:00
Oliver Gugger
ebb5e94381
multi: remove GO111MODULE, add icase flag to itest 2022-10-19 10:57:18 +02:00
Elle Mouton
544a024c06
multi: update to go 1.18 2022-09-14 14:18:03 +02:00
jamaljsr
0233f27f33
build: update NodeJS to v16 in CI builds 2022-04-04 09:50:46 -04:00
Oliver Gugger
73f51e32a3
docker+GitHub: bump golang to v1.17.6 2022-02-08 15:33:19 +01:00
Elle Mouton
9b84dbc7c9
cmd/litcli: add litcli for session functions 2021-11-24 13:44:26 -05:00
Oliver Gugger
90f08a6467
multi: replace statik with go1.16 embed directive
We can now simply use the //go:embed directive to compile everything in
the app/build directory into our root package.
2021-03-03 10:02:55 +01:00
Oliver Gugger
a6d79b6ab3
docker: bump golang base image to 1.16.0-alpine 2021-02-24 17:58:15 +01:00
Oliver Gugger
955920ad14
docker: bump golang version to v1.15.7 2021-01-29 13:17:07 +01:00
Oliver Gugger
a5ce60070c
docker: use stages for nodejs and golang parts
With this commit we split the build process into three stages: we start
with the JavaScript to static asset build process that requires NodeJS
then copy the result into the second stage that requires golang.
Finally, we just extract the final binaries in the third stage to keep
the shipped image as small as possible.
2020-12-10 11:04:21 +01:00
Oliver Gugger
f6b16e49a3
app+docker: don't compile protos when building or installing
Because we now have the compiled protos in the git repository, we don't
need to compile them with each installation or build.
2020-12-10 10:56:59 +01:00
Oliver Gugger
64d53f700e
Dockerfile: add production docker image
We add a new standalone Dockerfile that checks out the code from GitHub
and goes through all necessary build steps from scratch. The git commit
or tag that should be checked out before building can be specified as a
build argument.
To still allow more rapid development, the old Dockerfile that builds
from the local source is renamed to dev.Dockerfile to make the
distinction clear.
2020-11-25 16:00:35 +01:00