Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 7 additions & 1 deletion dev.Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,13 @@ ARG NO_UI
ARG CGO_ENABLED=1

# Install dependencies and install/build lightning-terminal.
RUN apk add --no-cache --update alpine-sdk make \
# Note: When using `docker build`, setting the environmental variable
# `DOCKER_BUILDKIT=1` is required to enable
# [BuildKit](https://docs.docker.com/build/buildkit)
# so that the cache mounts can be used.
RUN --mount=type=cache,target=/go/pkg/mod \
--mount=type=cache,target=/root/.cache/go-build \
apk add --no-cache --update alpine-sdk make \
&& cd /go/src/github.com/lightninglabs/lightning-terminal \
# If a custom lnd version is supplied, force it now.
&& if [ -n "$LND_VERSION" ]; then \
Expand Down
18 changes: 17 additions & 1 deletion docs/release-notes/release-notes-0.16.0.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,18 @@

### Functional Changes/Additions

* `dev.Dockerfile` now uses
[cache mounts](https://docs.docker.com/build/cache/optimize/#use-cache-mounts)
to cache the `GOMODCACHE` and `GOCACHE` directories so that dependencies don't
need to be re-downloaded and re-built every time the image is re-created.
As a result of this change, `dev.Dockerfile` now requires
[BuildKit](https://docs.docker.com/build/buildkit) to build. When using
`docker build`, this can be enabled by setting the environmental variable
`DOCKER_BUILDKIT=1`. BuildKit also does not unnecessarily rebuild images when
the build context is a remote git repository because COPY layers are more
smartly compared to cache.


### Technical and Architectural Updates

## RPC Updates
Expand All @@ -30,7 +42,11 @@ and also added coverage to verify support for channel versioning:
- https://github.com/lightninglabs/lightning-terminal/pull/1106
- https://github.com/lightninglabs/lightning-terminal/pull/1097
- https://github.com/lightninglabs/lightning-terminal/pull/1138


- LND is now built with the `monitoring` tag enabled, which has been the default
in standalone LND release builds since
https://github.com/lightningnetwork/lnd/commit/8491d0da433c23051b723f4c018e2f041df548c8
.

### LND

Expand Down
2 changes: 1 addition & 1 deletion make/compile_flags.mk
Original file line number Diff line number Diff line change
@@ -1 +1 @@
COMPILE_TAGS = autopilotrpc signrpc walletrpc chainrpc invoicesrpc watchtowerrpc neutrinorpc peersrpc kvdb_postgres kvdb_etcd kvdb_sqlite
COMPILE_TAGS = autopilotrpc signrpc walletrpc chainrpc invoicesrpc watchtowerrpc neutrinorpc monitoring peersrpc kvdb_postgres kvdb_etcd kvdb_sqlite
Loading