Skip to content
Snippets Groups Projects
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
No related branches found
No related tags found
No related merge requests found
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
EXPOSE 9166
WORKDIR /
COPY --from=0 /go/src/github.com/kumina/dovecot_exporter/dovecot_exporter .
ENTRYPOINT ["/dovecot_exporter"]
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment