aboutsummaryrefslogtreecommitdiff
path: root/roles/cgit/files/image/Dockerfile
diff options
context:
space:
mode:
authorAaditya Dhruv <[email protected]>2025-05-01 20:09:22 -0500
committerAaditya Dhruv <[email protected]>2025-05-01 20:19:54 -0500
commita61d981e5e862ba6599df1b36634b43d88364399 (patch)
treebc0b7c5faa1c7869ce93930c55cf45b9a0e77cbe /roles/cgit/files/image/Dockerfile
parent5d06b70db0f72079d628ea91d252cfad6a7ce86f (diff)
Update Cgit display
1. Markdown for README fixed with about-filter 2. Extra CSS theme trimmed down, using default 3. Update image not not bundle custom syntax-highlighting, install python3-markdown 4. Remove unrequired files, update configmap accordingly
Diffstat (limited to 'roles/cgit/files/image/Dockerfile')
-rw-r--r--roles/cgit/files/image/Dockerfile6
1 files changed, 1 insertions, 5 deletions
diff --git a/roles/cgit/files/image/Dockerfile b/roles/cgit/files/image/Dockerfile
index 894e68a..3e94e58 100644
--- a/roles/cgit/files/image/Dockerfile
+++ b/roles/cgit/files/image/Dockerfile
@@ -1,12 +1,8 @@
FROM docker.io/fedora:41
-RUN dnf install cgit caddy fcgiwrap openssh-server python3-pygments -y
+RUN dnf install cgit caddy fcgiwrap openssh-server python3-pygments python3-markdown -y
COPY Caddyfile /etc/caddy/Caddyfile
COPY start.sh start.sh
RUN mkdir /usr/lib/cgit -p
-COPY theme.css /usr/share/cgit/theme.css
-COPY theme.html /usr/share/cgit/theme.html
-COPY syntax-highlighting.py /usr/lib/cgit/syntax-highlighting.py
-RUN chmod 777 /usr/lib/cgit/syntax-highlighting.py
RUN adduser -m git
CMD ["./start.sh"]