diff --git a/Dockerfile b/Dockerfile new file mode 100644 index 0000000..c28f17a --- /dev/null +++ b/Dockerfile @@ -0,0 +1,8 @@ +FROM python:2 + +RUN apt-get update && apt-get install -q -y git + +RUN pip install --upgrade setuptools && pip install --upgrade pip && pip install github-pr-stats + +ENTRYPOINT [ "github-pr-stats" ] + diff --git a/README.md b/README.md index 5f5ae43..a17e94d 100644 --- a/README.md +++ b/README.md @@ -51,6 +51,16 @@ or [$]> easy_install github-pr-stats +or via Docker : + +Use it as a container by building it first + + docker build -t github-pr-stats . + +And then launch the command like this : + + docker run -v ~/.gitconfig:/root/.gitconfig --rm -it github-pr-stats --version + # Hacking I highly recommend using virtualenv: