dave/Dockerfile

11 lines
258 B
Text
Raw Normal View History

FROM golang:1.11-alpine
2018-05-18 20:55:58 +02:00
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"]