It turns out to make go modules work we have to set the GO111MODULE environment variable to 'on' after we perform the 'go get', as not all packages have support for go modules yet.

This commit is contained in:
Jorian van Oostenbrugge
2019-09-13 21:27:00 +02:00
parent 1646834be2
commit bb5b0a6417

View File

@@ -65,3 +65,6 @@ RUN go get -x -d github.com/stamblerre/gocode 2>&1 \
github.com/golangci/golangci-lint/cmd/golangci-lint \
github.com/mgechev/revive \
github.com/derekparker/delve/cmd/dlv 2>&1
# Uncomment the line below if you are using go modules
# ENV GO111MODULE=on