summaryrefslogtreecommitdiff
path: root/contrib/docker/README.rst
blob: 90a576cf4460483d8010ff7c32a86a787d6b21cb (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
python-gitlab docker image
==========================

Dockerfile contributed by *oupala*:
https://github.com/python-gitlab/python-gitlab/issues/295

How to build
------------

``docker build -t me/python-gitlab:VERSION .``

How to use
----------

``docker run -it -v /path/to/python-gitlab.cfg:/python-gitlab.cfg python-gitlab <command> ...``

To make things easier you can create a shell alias:

``alias gitlab='docker run --rm -it -v /path/to/python-gitlab.cfg:/python-gitlab.cfg python-gitlab``