Use a fork of gometalinter

Until https://github.com/alecthomas/gometalinter/pull/289 is merged.
This reduces the runtime of the linter by 50x

Signed-off-by: Daniel Nephin <dnephin@docker.com>
This commit is contained in:
Daniel Nephin 2017-06-14 17:30:45 -07:00
parent 3724fb7f37
commit 4881ef507f
2 changed files with 2 additions and 2 deletions

View File

@ -2,7 +2,7 @@ FROM golang:1.8.3-alpine
RUN apk add -U git RUN apk add -U git
RUN go get -u gopkg.in/alecthomas/gometalinter.v1 && \ RUN go get -u gopkg.in/dnephin/gometalinter.v1 && \
mv /go/bin/gometalinter.v1 /usr/local/bin/gometalinter && \ mv /go/bin/gometalinter.v1 /usr/local/bin/gometalinter && \
gometalinter --install gometalinter --install

View File

@ -1,6 +1,6 @@
{ {
"Vendor": true, "Vendor": true,
"Deadline": "8m", "Deadline": "2m",
"Sort": ["linter", "severity", "path"], "Sort": ["linter", "severity", "path"],
"Exclude": ["cli/compose/schema/bindata.go"], "Exclude": ["cli/compose/schema/bindata.go"],