dave/Dockerfile
2018-05-18 20:55:58 +02:00

10 lines
253 B
Docker

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"]