Unverified Commit 859caa1b authored by Bart Vercoulen's avatar Bart Vercoulen Committed by GitHub
Browse files

Merge pull request #9 from jangrewe/master

add Dockerfile
parents 14694eda 8ac4e2e5
FROM golang:1.8-alpine
ADD . /go/src/github.com/kumina/dovecot_exporter
WORKDIR /go/src/github.com/kumina/dovecot_exporter
RUN apk add --no-cache git && \
go get -v ./... && \
go build
FROM alpine:latest
COPY --from=0 /go/src/github.com/kumina/dovecot_exporter/dovecot_exporter .
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