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:
naveen
2021-10-01 19:45:39 +00:00
committed by Oliver Gugger
parent 43158b6b59
commit b3ef3db0f2
6 changed files with 20 additions and 10 deletions

View File

@@ -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

View File

@@ -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