Skip to content
Snippets Groups Projects
Commit 8ac4e2e5 authored by Jan Grewe's avatar Jan Grewe
Browse files

add Dockerfile

parent 14694eda
Branches
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