summaryrefslogtreecommitdiff
path: root/contrib/docker/Dockerfile
diff options
context:
space:
mode:
Diffstat (limited to 'contrib/docker/Dockerfile')
-rw-r--r--contrib/docker/Dockerfile10
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"]