9 lines
288 B
Docker
9 lines
288 B
Docker
FROM golang:1.11-alpine
|
|
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
|
|
COPY . .
|
|
RUN gometalinter --config=gometalinter.json ./...
|