summaryrefslogtreecommitdiffstats
path: root/cgit/Dockerfile
diff options
context:
space:
mode:
Diffstat (limited to 'cgit/Dockerfile')
-rw-r--r--cgit/Dockerfile12
1 files changed, 12 insertions, 0 deletions
diff --git a/cgit/Dockerfile b/cgit/Dockerfile
new file mode 100644
index 0000000..9e1c442
--- /dev/null
+++ b/cgit/Dockerfile
@@ -0,0 +1,12 @@
+# https://git.zx2c4.com/cgit/
+
+FROM alpine
+
+RUN apk --no-cache upgrade
+RUN apk --no-cache add apache2 cgit
+
+COPY httpd.conf /etc/apache2/
+COPY cgitrc /etc/
+
+EXPOSE 80
+CMD ["/usr/sbin/httpd", "-DFOREGROUND"]