2018-09-13 21:21:11 +00:00
|
|
|
# syntax=tonistiigi/dockerfile:runmount20180828
|
|
|
|
|
2018-09-17 17:41:33 +00:00
|
|
|
FROM golang:1.11-alpine
|
2018-09-13 21:21:11 +00:00
|
|
|
RUN apk add --no-cache git
|
|
|
|
RUN go get -u gopkg.in/alecthomas/gometalinter.v1 \
|
|
|
|
&& mv /go/bin/gometalinter.v1 /go/bin/gometalinter \
|
|
|
|
&& gometalinter --install
|
|
|
|
WORKDIR /go/src/github.com/moby/buildkit
|
|
|
|
RUN --mount=target=/go/src/github.com/moby/buildkit \
|
|
|
|
gometalinter --config=gometalinter.json ./...
|