diff --git a/Dockerfile b/Dockerfile index bad1875ba..08656080f 100644 --- a/Dockerfile +++ b/Dockerfile @@ -16,6 +16,7 @@ ARG VERSION=dev # go build -mod=vendor RUN set -x \ && export GOGC=off \ + && export GO111MODULE=on \ && export CGO_ENABLED=0 \ && export LDFLAGS="-X ${REPO}/config.Version=${VERSION}" \ && go build -v -mod=vendor -ldflags "${LDFLAGS}" -o /go/bin/neo-go ./cli/main.go