diff options
| author | Gauvain Pocentek <gauvain@pocentek.net> | 2017-11-01 16:26:21 +0100 |
|---|---|---|
| committer | Gauvain Pocentek <gauvain@pocentek.net> | 2017-11-01 16:26:21 +0100 |
| commit | fba7730161c15be222a22b4618d79bb92a87ef1f (patch) | |
| tree | a260fd6cd54beb7f28469c340bc245e77358c98f /contrib/docker/Dockerfile | |
| parent | 9dd410feec4fe4e85eb735ad0007adcf06fe03cc (diff) | |
| download | gitlab-fba7730161c15be222a22b4618d79bb92a87ef1f.tar.gz | |
Add a contributed Dockerfile
Thanks oupala!
Closes #295
Diffstat (limited to 'contrib/docker/Dockerfile')
| -rw-r--r-- | contrib/docker/Dockerfile | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/contrib/docker/Dockerfile b/contrib/docker/Dockerfile new file mode 100644 index 0000000..6663cac --- /dev/null +++ b/contrib/docker/Dockerfile @@ -0,0 +1,10 @@ +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"] |
