mirror of
https://github.com/linuxkit/linuxkit.git
synced 2025-09-15 14:50:41 +00:00
Add ineffassign to go-compile, use tmp files to ensure proper failure
handling Signed-off-by: Riyaz Faizullabhoy <riyaz.faizullabhoy@docker.com>
This commit is contained in:
@@ -1,8 +1,9 @@
|
||||
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
|
||||
RUN go get -u github.com/golang/lint/golint && \
|
||||
go get -u github.com/gordonklaus/ineffassign && \
|
||||
go get -u github.com/LK4D4/vndr
|
||||
|
||||
COPY . ./
|
||||
|
||||
|
Reference in New Issue
Block a user