Commit 8ac4e2e5 authored by Jan Grewe's avatar Jan Grewe
Browse files

add Dockerfile

parent 14694eda
FROM golang:1.8-alpine
ADD . /go/src/
WORKDIR /go/src/
RUN apk add --no-cache git && \
go get -v ./... && \
go build
FROM alpine:latest
COPY --from=0 /go/src/ .
ENTRYPOINT ["/dovecot_exporter"]
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment