diff options
Diffstat (limited to 'contrib')
-rw-r--r-- | contrib/docker/Dockerfile | 10 | ||||
-rw-r--r-- | contrib/docker/README.rst | 19 | ||||
-rw-r--r-- | contrib/docker/python-gitlab.cfg | 15 |
3 files changed, 0 insertions, 44 deletions
diff --git a/contrib/docker/Dockerfile b/contrib/docker/Dockerfile deleted file mode 100644 index 6663cac..0000000 --- a/contrib/docker/Dockerfile +++ /dev/null @@ -1,10 +0,0 @@ -FROM python:slim - -# Install python-gitlab -RUN pip install --upgrade python-gitlab - -# Copy sample configuration file -COPY python-gitlab.cfg / - -# Define the entrypoint that enable a configuration file -ENTRYPOINT ["gitlab", "--config-file", "/python-gitlab.cfg"] diff --git a/contrib/docker/README.rst b/contrib/docker/README.rst deleted file mode 100644 index 90a576c..0000000 --- a/contrib/docker/README.rst +++ /dev/null @@ -1,19 +0,0 @@ -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`` diff --git a/contrib/docker/python-gitlab.cfg b/contrib/docker/python-gitlab.cfg deleted file mode 100644 index 0e51954..0000000 --- a/contrib/docker/python-gitlab.cfg +++ /dev/null @@ -1,15 +0,0 @@ -[global] -default = somewhere -ssl_verify = true -timeout = 5 -api_version = 3 - -[somewhere] -url = https://some.whe.re -private_token = vTbFeqJYCY3sibBP7BZM -api_version = 4 - -[elsewhere] -url = http://else.whe.re:8080 -private_token = CkqsjqcQSFH5FQKDccu4 -timeout = 1 |