Add vndr to go-compile and add vendoring docs

This makes it easier to safely udpate the vendor directory

Signed-off-by: Dave Tucker <dt@docker.com>
This commit is contained in:
Dave Tucker
2017-04-05 14:37:03 +01:00
parent 47402c955c
commit 00edddac9a
3 changed files with 59 additions and 1 deletions

View File

@@ -2,6 +2,7 @@ FROM alpine:3.5
RUN apk update && apk add --no-cache build-base git go
ENV GOPATH=/go PATH=$PATH:/go/bin
RUN go get -u github.com/golang/lint/golint
RUN go get -u github.com/LK4D4/vndr
COPY . ./