aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDiederick de Vries <diederick@diederickdevries.net>2020-06-20 11:58:47 +0200
committerDiederick de Vries <diederick@diederickdevries.net>2020-06-20 11:58:47 +0200
commitb3edbc9796daf8f2f7c1ba9143c4781ac7063193 (patch)
tree38485faf256edeb495167a26d4b016f3fb0fc410
parent160a4659361614c60553a3870939dfe52835317b (diff)
downloadcgit-docker-b3edbc9796daf8f2f7c1ba9143c4781ac7063193.tar.gz
cgit-docker-b3edbc9796daf8f2f7c1ba9143c4781ac7063193.tar.bz2
cgit-docker-b3edbc9796daf8f2f7c1ba9143c4781ac7063193.zip
feat: add Dockerfile
-rw-r--r--Dockerfile11
1 files changed, 11 insertions, 0 deletions
diff --git a/Dockerfile b/Dockerfile
new file mode 100644
index 0000000..0b6db1d
--- /dev/null
+++ b/Dockerfile
@@ -0,0 +1,11 @@
1FROM archlinux
2MAINTAINER Diederick de Vries <diederick@diederickdevries.net>
3RUN pacman --noconfirm -Syu
4RUN pacman --noconfirm -S cgit lighttpd
5COPY cgitrc /etc/
6COPY cgit.conf /etc/lighttpd/conf.d/
7COPY logging.conf /
8RUN cat /logging.conf >> /etc/lighttpd/lighttpd.conf
9RUN echo 'include "conf.d/cgit.conf"' >> /etc/lighttpd/lighttpd.conf
10RUN systemctl enable --now lighttpd
11