From afe553013d24b69238d9054ae81b6bcd18df2acd Mon Sep 17 00:00:00 2001 From: Pascal Bach Date: Sat, 4 Mar 2017 23:40:47 +0100 Subject: [PATCH] Add simple Dockerfile to run fritzbox_exporter as docker container --- Dockerfile | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 Dockerfile diff --git a/Dockerfile b/Dockerfile new file mode 100644 index 0000000..0ecff0c --- /dev/null +++ b/Dockerfile @@ -0,0 +1,12 @@ +FROM golang:1.8-alpine + +ADD . $GOPATH/src/github.com/ndecker/fritzbox_exporter + +RUN apk add --no-cache git +RUN go get -v github.com/ndecker/fritzbox_exporter + +EXPOSE 9133 + +ENTRYPOINT ["fritzbox_exporter"] +CMD [""] +