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:
parent
8803239e6d
commit
755c320b63
13
Dockerfile
Normal file
13
Dockerfile
Normal 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
|
Loading…
Reference in New Issue
Block a user