Docker support.

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.
This commit is contained in:
airdb 2017-03-24 16:57:58 +08:00 committed by GitHub
parent 8803239e6d
commit 755c320b63

13
Dockerfile Normal file
View File

@ -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