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
3030# queries required to connect to linked containers succeed.
3131ENV GODEBUG netdns=cgo
3232
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.
3535# Please see https://go.dev/ref/mod#version-queries for the types of
3636# queries that can be used to define a version.
3737ARG LND_VERSION
3838ARG TAPROOT_ASSETS_VERSION
39+ ARG TAPRPC_VERSION
3940
4041# Need to restate this since running in a new container from above.
4142ARG NO_UI
@@ -53,6 +54,11 @@ RUN apk add --no-cache --update alpine-sdk make \
5354 go get -v github.com/lightninglabs/taproot-assets@$TAPROOT_ASSETS_VERSION \
5455 && go mod tidy; \
5556 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 \
5662 && if [ "$NO_UI" -eq "1" ]; then \
5763 make go-install-noui \
5864 && make go-install-cli-noui; \
You can’t perform that action at this time.
0 commit comments