2017-04-18 19:12:24 -04:00
|
|
|
|
2017-06-09 13:39:24 -04:00
|
|
|
FROM golang:1.8.3-alpine
|
2017-04-18 19:12:24 -04:00
|
|
|
|
2017-05-12 12:07:57 -04:00
|
|
|
RUN apk add -U git make bash coreutils
|
2017-04-18 19:12:24 -04:00
|
|
|
|
2017-07-11 14:19:02 -04:00
|
|
|
ARG VNDR_SHA=9909bb2b8a0b7ea464527b376dc50389c90df587
|
2017-07-18 12:22:28 -04:00
|
|
|
RUN go get -d github.com/LK4D4/vndr && \
|
2017-07-11 14:19:02 -04:00
|
|
|
cd /go/src/github.com/LK4D4/vndr && \
|
|
|
|
git checkout -q "$VNDR_SHA" && \
|
2017-07-10 17:31:57 -04:00
|
|
|
go build -v -o /usr/bin/vndr . && \
|
2017-04-18 19:12:24 -04:00
|
|
|
rm -rf /go/src/* /go/pkg/* /go/bin/*
|
|
|
|
|
2017-07-11 14:19:02 -04:00
|
|
|
ARG BINDATA_SHA=a0ff2567cfb70903282db057e799fd826784d41d
|
2017-07-18 12:22:28 -04:00
|
|
|
RUN go get -d github.com/jteeuwen/go-bindata/go-bindata && \
|
2017-07-11 14:19:02 -04:00
|
|
|
cd /go/src/github.com/jteeuwen/go-bindata/go-bindata && \
|
|
|
|
git checkout -q "$BINDATA_SHA" && \
|
|
|
|
go build -v -o /usr/bin/go-bindata . && \
|
2017-05-09 15:37:22 -04:00
|
|
|
rm -rf /go/src/* /go/pkg/* /go/bin/*
|
|
|
|
|
2017-07-11 14:19:02 -04:00
|
|
|
ARG FILEWATCHER_SHA=2e12ea42f6c8c089b19e992145bb94e8adaecedb
|
2017-07-18 12:22:28 -04:00
|
|
|
RUN go get -d github.com/dnephin/filewatcher && \
|
2017-07-11 14:19:02 -04:00
|
|
|
cd /go/src/github.com/dnephin/filewatcher && \
|
|
|
|
git checkout -q "$FILEWATCHER_SHA" && \
|
|
|
|
go build -v -o /usr/bin/filewatcher . && \
|
2017-05-15 17:00:35 -04:00
|
|
|
rm -rf /go/src/* /go/pkg/* /go/bin/*
|
|
|
|
|
2017-08-04 21:24:21 -04:00
|
|
|
ENV CGO_ENABLED=0 \
|
|
|
|
PATH=$PATH:/go/src/github.com/docker/cli/build
|
2017-04-18 19:12:24 -04:00
|
|
|
WORKDIR /go/src/github.com/docker/cli
|
|
|
|
CMD sh
|