dave/Dockerfile

11 lines
253 B
Text
Raw Normal View History

2018-05-18 20:55:58 +02:00
FROM golang:alpine
RUN apk add --no-cache git
RUN go get -u github.com/micromata/dave/cmd/...
FROM alpine:latest
RUN apk update && apk upgrade
RUN adduser -S dave
COPY --from=0 /go/bin/dave /usr/local/bin
USER dave
ENTRYPOINT ["/usr/local/bin/dave"]