2017-04-18 19:12:24 -04:00
|
|
|
|
|
|
|
FROM golang:1.8-alpine
|
|
|
|
|
2017-04-25 12:57:06 -04:00
|
|
|
RUN apk add -U git make
|
2017-04-18 19:12:24 -04:00
|
|
|
|
|
|
|
RUN go get github.com/LK4D4/vndr && \
|
|
|
|
cp /go/bin/vndr /usr/bin && \
|
|
|
|
rm -rf /go/src/* /go/pkg/* /go/bin/*
|
|
|
|
|
|
|
|
RUN go get github.com/mitchellh/gox && \
|
|
|
|
cp /go/bin/gox /usr/bin && \
|
|
|
|
rm -rf /go/src/* /go/pkg/* /go/bin/*
|
|
|
|
|
2017-05-09 15:37:22 -04:00
|
|
|
RUN go get github.com/jteeuwen/go-bindata/go-bindata && \
|
|
|
|
cp /go/bin/go-bindata /usr/bin && \
|
|
|
|
rm -rf /go/src/* /go/pkg/* /go/bin/*
|
|
|
|
|
2017-04-18 19:12:24 -04:00
|
|
|
ENV CGO_ENABLED=0
|
|
|
|
WORKDIR /go/src/github.com/docker/cli
|
|
|
|
CMD sh
|