mirror of
https://github.com/adnanh/webhook.git
synced 2025-08-02 07:50:32 +00:00
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
1 changed files with 13 additions and 0 deletions
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…
Add table
Add a link
Reference in a new issue