Skip to content
Snippets Groups Projects
Unverified Commit 6403028e authored by Tomasz Maczukin's avatar Tomasz Maczukin
Browse files

Fix pipeline failures

Recent update in golang.org/x/tools (which is a nested dependency
of golang.org/x/lint that Docker Machine project is using) related to
"Go 1.12 support is dropped" have caused our pipelines to start failing,
because we're still on Go 1.12.x.

The good news is that golang.org/x/lint itself points an older version
of golang.org/x/tools. The only thing we need to do is to enable usage
of Go Modules when installing the linter.

Which is what this commit does.
parent 81548ec5
No related branches found
No related tags found
No related merge requests found
......@@ -7,7 +7,7 @@ RUN apt-get update && apt-get install -y --no-install-recommends \
sshfs \
&& rm -rf /var/lib/apt/lists/*
RUN go get golang.org/x/lint/golint \
RUN GO111MODULE=on go get golang.org/x/lint/golint \
golang.org/x/tools/cover
ENV USER root
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment