From 755c320b63d3a42987e04852826a816fc495005c Mon Sep 17 00:00:00 2001 From: airdb Date: Fri, 24 Mar 2017 16:57:58 +0800 Subject: [PATCH] Docker support. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit pls confirm this pr, thk. and I think we should develp more feature about webhook. Not only support cmd. such as, support webhook module ,sync to database, http request or other. --- Dockerfile | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 Dockerfile diff --git a/Dockerfile b/Dockerfile new file mode 100644 index 0000000..b2a0c66 --- /dev/null +++ b/Dockerfile @@ -0,0 +1,13 @@ +FROM golang:latest + +MAINTAINER Dean dean@airdb.com +# github webhook: github.com/adnanh/webhook + +ENV PATH="$PATH:/go/bin" +RUN go get github.com/adnanh/webhook + +RUN cd /go/src/github.com/adnanh/webhook + +ENTRYPOINT webhook -verbose -hooks ./hooks.json.example + +EXPOSE 9000