buildkit/hack/dockerfiles/vendor.Dockerfile

10 lines
280 B
Plaintext
Raw Normal View History

FROM golang:1.8-alpine AS vndr
RUN apk add --no-cache git
ARG VNDR_VERSION=master
RUN go get -d github.com/LK4D4/vndr \
&& cd /go/src/github.com/LK4D4/vndr \
&& git checkout $VNDR_VERSION \
&& go install ./
WORKDIR /go/src/github.com/tonistiigi/buildkit_poc
COPY . .
RUN vndr