File tree Expand file tree Collapse file tree 1 file changed +10
-2
lines changed Expand file tree Collapse file tree 1 file changed +10
-2
lines changed Original file line number Diff line number Diff line change @@ -23,10 +23,18 @@ COPY --from=nodejsbuilder /go/src/github.com/lightninglabs/lightning-terminal /g
23
23
# queries required to connect to linked containers succeed.
24
24
ENV GODEBUG netdns=cgo
25
25
26
+ # allow forcing a specific taproot-assets version through a build argument
27
+ # see https://go.dev/ref/mod#version-queries for the types of queries that can be used to define a version
28
+ ARG TAPROOT_ASSETS_VERSION
29
+
26
30
# Install dependencies and install/build lightning-terminal.
27
- RUN apk add --no-cache --update alpine-sdk \
28
- make \
31
+ RUN apk add --no-cache --update alpine-sdk make \
29
32
&& cd /go/src/github.com/lightninglabs/lightning-terminal \
33
+ # if custom taproot-assets version supplied, apply it
34
+ && if [ -n "$TAPROOT_ASSETS_VERSION" ]; then \
35
+ go get -v github.com/lightninglabs/taproot-assets@$TAPROOT_ASSETS_VERSION \
36
+ && go mod tidy; \
37
+ fi \
30
38
&& make go-install \
31
39
&& make go-install-cli
32
40
You can’t perform that action at this time.
0 commit comments