File tree Expand file tree Collapse file tree 1 file changed +11
-2
lines changed Expand file tree Collapse file tree 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
2323#  queries required to connect to linked containers succeed.
2424ENV  GODEBUG netdns=cgo
2525
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+ 
2631#  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 \
2933  && 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 \
3039  && make go-install \
3140  && make go-install-cli
3241
 
 
   
 
     
   
   
          
    
    
     
    
      
     
     
    You can’t perform that action at this time.
  
 
    
  
    
      
        
     
       
      
     
   
 
    
    
  
 
  
 
     
    
0 commit comments