From a61d981e5e862ba6599df1b36634b43d88364399 Mon Sep 17 00:00:00 2001 From: Aaditya Dhruv Date: Thu, 1 May 2025 20:09:22 -0500 Subject: 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 --- roles/cgit/files/image/Dockerfile | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) (limited to 'roles/cgit/files/image/Dockerfile') 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"] -- cgit