Commit 41b4389 1 parent edd610f commit 41b4389 Copy full SHA for 41b4389
File tree 1 file changed +11
-2
lines changed
1 file changed +11
-2
lines changed Original file line number Diff line number Diff line change @@ -23,10 +23,19 @@ 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
+ # Please see https://go.dev/ref/mod#version-queries for the types of
28
+ # queries that can be used to define a version.
29
+ ARG TAPROOT_ASSETS_VERSION
30
+
26
31
# Install dependencies and install/build lightning-terminal.
27
- RUN apk add --no-cache --update alpine-sdk \
28
- make \
32
+ RUN apk add --no-cache --update alpine-sdk make \
29
33
&& cd /go/src/github.com/lightninglabs/lightning-terminal \
34
+ # If a custom taproot-assets version is supplied, force it now.
35
+ && if [ -n "$TAPROOT_ASSETS_VERSION" ]; then \
36
+ go get -v github.com/lightninglabs/taproot-assets@$TAPROOT_ASSETS_VERSION \
37
+ && go mod tidy; \
38
+ fi \
30
39
&& make go-install \
31
40
&& make go-install-cli
32
41
You can’t perform that action at this time.
0 commit comments