diff options
| author | Gauvain Pocentek <gauvainpocentek@gmail.com> | 2018-10-15 13:42:41 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2018-10-15 13:42:41 +0200 |
| commit | c9f7986a83bc4aa1743f446b7a10fc79bc909eda (patch) | |
| tree | 4fb69164590bd0b2b6cb9d96a49631717cdc5781 /README.rst | |
| parent | 156a21e1a2c9dcb6a14d95655ef24d5520e1dcc1 (diff) | |
| parent | 06e8ca8747256632c8a159f760860b1ae8f2b7b5 (diff) | |
| download | gitlab-c9f7986a83bc4aa1743f446b7a10fc79bc909eda.tar.gz | |
Merge pull request #605 from python-gitlab/fix/docker
fix(docker): use docker image with current sources
Diffstat (limited to 'README.rst')
| -rw-r--r-- | README.rst | 23 |
1 files changed, 22 insertions, 1 deletions
@@ -20,7 +20,7 @@ It supports the v4 API of GitLab, and provides a CLI tool (``gitlab``). Maintainer(s) wanted ==================== -We are looking for neww maintainer(s) for this project. See +We are looking for new maintainer(s) for this project. See https://github.com/python-gitlab/python-gitlab/issues/596. Installation @@ -41,6 +41,27 @@ Install with pip pip install python-gitlab + +Using the python-gitlab docker image +==================================== + +How to build +------------ + +``docker build -t python-gitlab:TAG .`` + +How to use +---------- + +``docker run -it --rm -e GITLAB_PRIVATE_TOKEN=<your token> -v /path/to/python-gitlab.cfg:/python-gitlab.cfg python-gitlab <command> ...`` + +To change the GitLab URL, use `-e GITLAB_URL=<your url>` + + +Bring your own config file: +``docker run -it --rm -v /path/to/python-gitlab.cfg:/python-gitlab.cfg -e GITLAB_CFG=/python-gitlab.cfg python-gitlab <command> ...`` + + Bug reports =========== |
