mirror of
https://github.com/lightningnetwork/lnd.git
synced 2025-08-29 15:11:09 +02:00
multi: Remove GO111MODULE env variable in Makefile
The `GO111MODULE` variable is not required from go 1.16 https://go.dev/blog/go116-module-changes
This commit is contained in:
@@ -13,7 +13,7 @@ ARG BTCD_VERSION=v0.20.1-beta
|
||||
# Grab and install the latest version of of btcd and all related dependencies.
|
||||
RUN git clone https://github.com/btcsuite/btcd.git . \
|
||||
&& git checkout $BTCD_VERSION \
|
||||
&& GO111MODULE=on go install -v . ./cmd/...
|
||||
&& go install -v . ./cmd/...
|
||||
|
||||
# Start a new image
|
||||
FROM alpine as final
|
||||
|
@@ -7,8 +7,8 @@ LABEL maintainer="Olaoluwa Osuntokun <laolu@lightning.engineering>"
|
||||
WORKDIR $GOPATH/src/github.com/ltcsuite/ltcd
|
||||
RUN apk add --no-cache --update alpine-sdk git
|
||||
RUN git clone https://github.com/ltcsuite/ltcd ./
|
||||
RUN GO111MODULE=on go install -v . ./cmd/...
|
||||
RUN GO111MODULE=on go install . ./cmd/ltcctl ./cmd/gencerts
|
||||
RUN go install -v . ./cmd/...
|
||||
RUN go install . ./cmd/ltcctl ./cmd/gencerts
|
||||
|
||||
# Start a new image
|
||||
FROM alpine as final
|
||||
|
Reference in New Issue
Block a user