aboutsummaryrefslogtreecommitdiff
path: root/Dockerfile
diff options
context:
space:
mode:
authorMitch Riedstra <mitch@riedstra.us>2020-09-13 16:10:11 -0400
committerMitch Riedstra <mitch@riedstra.us>2020-09-13 16:10:11 -0400
commit578b04e3f380cfd674cd545f6a4d673b4e046bf5 (patch)
tree0ae11672ff5b90a73e5abb489fa1a5b6d9e67862 /Dockerfile
downloadalpine-cgit-578b04e3f380cfd674cd545f6a4d673b4e046bf5.tar.gz
alpine-cgit-578b04e3f380cfd674cd545f6a4d673b4e046bf5.tar.xz
Initial
Diffstat (limited to 'Dockerfile')
-rw-r--r--Dockerfile19
1 files changed, 19 insertions, 0 deletions
diff --git a/Dockerfile b/Dockerfile
new file mode 100644
index 0000000..403b4a5
--- /dev/null
+++ b/Dockerfile
@@ -0,0 +1,19 @@
+FROM alpine:3.12
+
+COPY repositories /etc/apk/
+
+RUN apk update
+RUN apk add fcgiwrap python3 py3-pygments py3-markdown cgit git openssh nginx xz
+
+# Nice stuff, but not necessary
+RUN apk add bash vim
+
+COPY cgitrc /etc/cgitrc
+RUN mkdir -p /var/git
+
+RUN mkdir -p /var/default/git/
+COPY home/ /var/default/git/
+
+COPY entrypoint.sh /
+
+ENTRYPOINT /entrypoint.sh