File tree Expand file tree Collapse file tree 1 file changed +8
-2
lines changed Expand file tree Collapse file tree 1 file changed +8
-2
lines changed Original file line number Diff line number Diff line change @@ -30,12 +30,13 @@ COPY --from=nodejsbuilder /go/src/github.com/lightninglabs/lightning-terminal /g
30
30
# queries required to connect to linked containers succeed.
31
31
ENV GODEBUG netdns=cgo
32
32
33
- # Allow forcing a specific lnd and taproot-assets version through a build
34
- # argument.
33
+ # Allow forcing a specific lnd, taproot-assets, and taprpc version through a
34
+ # build argument.
35
35
# Please see https://go.dev/ref/mod#version-queries for the types of
36
36
# queries that can be used to define a version.
37
37
ARG LND_VERSION
38
38
ARG TAPROOT_ASSETS_VERSION
39
+ ARG TAPRPC_VERSION
39
40
40
41
# Need to restate this since running in a new container from above.
41
42
ARG NO_UI
@@ -53,6 +54,11 @@ RUN apk add --no-cache --update alpine-sdk make \
53
54
go get -v github.com/lightninglabs/taproot-assets@$TAPROOT_ASSETS_VERSION \
54
55
&& go mod tidy; \
55
56
fi \
57
+ # If a custom taprpc version is supplied, force it now.
58
+ && if [ -n "$TAPRPC_VERSION" ]; then \
59
+ go get -v github.com/lightninglabs/taproot-assets/taprpc@$TAPRPC_VERSION \
60
+ && go mod tidy; \
61
+ fi \
56
62
&& if [ "$NO_UI" -eq "1" ]; then \
57
63
make go-install-noui \
58
64
&& make go-install-cli-noui; \
You can’t perform that action at this time.
0 commit comments