aboutsummaryrefslogtreecommitdiff
path: root/Dockerfile.cgit
diff options
context:
space:
mode:
authorAlex Pooley (@zuedev) <zuedev@gmail.com>2026-05-07 17:30:41 +0100
committerAlex Pooley (@zuedev) <zuedev@gmail.com>2026-05-07 17:30:41 +0100
commit3c79ec13cd2097c7c08c13efeb7759f0708fb80b (patch)
treed12b79e551d0bd1fdf93589f7e51736c4ebf31b0 /Dockerfile.cgit
parente4b3b4b9d738b99b2e5be304c2a1461e25242c72 (diff)
downloadgit.zue.dev-3c79ec13cd2097c7c08c13efeb7759f0708fb80b.tar
git.zue.dev-3c79ec13cd2097c7c08c13efeb7759f0708fb80b.tar.gz
git.zue.dev-3c79ec13cd2097c7c08c13efeb7759f0708fb80b.tar.bz2
git.zue.dev-3c79ec13cd2097c7c08c13efeb7759f0708fb80b.tar.xz
git.zue.dev-3c79ec13cd2097c7c08c13efeb7759f0708fb80b.zip
Add Dockerfiles for Debian SSH server and CGit setup, and update docker-compose configuration
Diffstat (limited to 'Dockerfile.cgit')
-rw-r--r--Dockerfile.cgit15
1 files changed, 15 insertions, 0 deletions
diff --git a/Dockerfile.cgit b/Dockerfile.cgit
new file mode 100644
index 0000000..8c2e2a3
--- /dev/null
+++ b/Dockerfile.cgit
@@ -0,0 +1,15 @@
+# This Dockerfile sets up a CGit server using an Alpine Linux base image. It configures CGit with custom settings and serves the repositories from a specified directory.
+
+# Start with a base Alpine image that has CGit installed
+FROM joseluisq/alpine-cgit:2.9.0
+
+ENV USE_CUSTOM_CONFIG="true"
+
+# Copy the custom cgit configuration file into the container
+COPY cgitrc /etc/cgitrc
+
+# Copy the root readme file into the container
+COPY root-readme.html /root-readme.html
+
+# Copy the header file into the container
+COPY header.html /header.html \ No newline at end of file