2017-04-18 19:12:24 -04:00
|
|
|
|
2018-10-10 02:46:48 -04:00
|
|
|
FROM golang:1.11.1-alpine
|
2017-04-18 19:12:24 -04:00
|
|
|
|
2018-03-06 05:15:18 -05:00
|
|
|
RUN apk add -U git make bash coreutils ca-certificates curl
|
2017-04-18 19:12:24 -04:00
|
|
|
|
2018-05-24 03:39:22 -04:00
|
|
|
ARG VNDR_SHA=1fc68ee0c852556a9ed53cbde16247033f104111
|
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/*
|
|
|
|
|
2018-02-12 13:03:31 -05:00
|
|
|
ARG ESC_SHA=58d9cde84f237ecdd89bd7f61c2de2853f4c5c6e
|
|
|
|
RUN go get -d github.com/mjibson/esc && \
|
|
|
|
cd /go/src/github.com/mjibson/esc && \
|
|
|
|
git checkout -q "$ESC_SHA" && \
|
|
|
|
go build -v -o /usr/bin/esc . && \
|
2017-05-09 15:37:22 -04:00
|
|
|
rm -rf /go/src/* /go/pkg/* /go/bin/*
|
|
|
|
|
2017-08-04 21:24:21 -04:00
|
|
|
ENV CGO_ENABLED=0 \
|
2017-08-15 14:32:44 -04:00
|
|
|
PATH=$PATH:/go/src/github.com/docker/cli/build \
|
|
|
|
DISABLE_WARN_OUTSIDE_CONTAINER=1
|
2017-04-18 19:12:24 -04:00
|
|
|
WORKDIR /go/src/github.com/docker/cli
|
|
|
|
CMD sh
|