2017-06-09 13:39:24 -04:00
|
|
|
FROM golang:1.8.3-alpine
|
2017-05-02 15:10:03 -04:00
|
|
|
|
|
|
|
RUN apk add -U git
|
|
|
|
|
2017-06-14 20:30:45 -04:00
|
|
|
RUN go get -u gopkg.in/dnephin/gometalinter.v1 && \
|
2017-05-02 15:10:03 -04:00
|
|
|
mv /go/bin/gometalinter.v1 /usr/local/bin/gometalinter && \
|
|
|
|
gometalinter --install
|
|
|
|
|
|
|
|
WORKDIR /go/src/github.com/docker/cli
|
2017-06-09 12:32:14 -04:00
|
|
|
ENV CGO_ENABLED=0
|
2017-05-02 15:10:03 -04:00
|
|
|
ENTRYPOINT ["/usr/local/bin/gometalinter"]
|
2017-06-09 12:32:14 -04:00
|
|
|
CMD ["--config=gometalinter.json", "./..."]
|