Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 13 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
docker-build-latest: docker-pull-deps
docker build -t carlos-jenkins/python-github-webhooks .

docker-build-push: docker-build-latest
TAG=$$(date +%Y%m%d%H%M%S) ;\
docker tag carlos-jenkins/python-github-webhooks:latest carlos-jenkins/python-github-webhooks:$$TAG ; \
docker push carlos-jenkins/python-github-webhooks:$$TAG ; \
docker push carlos-jenkins/python-github-webhooks:latest ; \

docker-pull-deps:
docker pull python:2.7-alpine

all: docker-build-latest
3 changes: 2 additions & 1 deletion README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -151,7 +151,8 @@ with the following command:
::

git clone http://github.com/carlos-jenkins/python-github-webhooks.git
docker build -t carlos-jenkins/python-github-webhooks python-github-webhooks
cd python-github-webhooks
make
docker run -d --name webhooks -p 5000:5000 carlos-jenkins/python-github-webhooks

You can also mount volume to setup the ``hooks/`` directory, and the file
Expand Down