mirror of
https://github.com/adnanh/webhook.git
synced 2025-10-04 05:31:03 +00:00
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.
13 lines
272 B
Docker
13 lines
272 B
Docker
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
|