summaryrefslogtreecommitdiff
path: root/docker/cgit/Dockerfile
diff options
context:
space:
mode:
authorDaniel Weipert <code@drogueronin.de>2023-09-17 14:34:50 +0200
committerDaniel Weipert <code@drogueronin.de>2023-09-17 14:34:50 +0200
commit00f8fd8a71ad956dda0e90a42f947f1f805585dc (patch)
treec49d959f60cc4a57c34d62c2cab3cfde6046f82e /docker/cgit/Dockerfile
inital commit
Diffstat (limited to 'docker/cgit/Dockerfile')
-rw-r--r--docker/cgit/Dockerfile23
1 files changed, 23 insertions, 0 deletions
diff --git a/docker/cgit/Dockerfile b/docker/cgit/Dockerfile
new file mode 100644
index 0000000..187cf10
--- /dev/null
+++ b/docker/cgit/Dockerfile
@@ -0,0 +1,23 @@
+FROM httpd
+
+
+EXPOSE 80
+EXPOSE 443
+
+
+ARG DEBIAN_FRONTEND=noninteractive
+RUN apt-get update
+
+RUN apt-get install -y \
+ cgit \
+ python3
+
+RUN : \
+ && a2enmod cgi
+
+
+COPY docker-init.py /
+COPY docker-entrypoint.sh /
+
+ENTRYPOINT ["/docker-entrypoint.sh"]
+CMD ["init"]