added cgit image
All checks were successful
CI / Build dyndns docker images (push) Successful in 1m4s

This commit is contained in:
2025-10-29 17:59:07 +08:00
parent 84f467e55a
commit 2070ab8c22
3 changed files with 60 additions and 0 deletions

8
cgit/Dockerfile Normal file
View File

@@ -0,0 +1,8 @@
FROM alpine:3.22
ARG VERSION
RUN --mount=type=cache,target=/var/cache/apk apk add cgit uwsgi uwsgi-cgi py3-pygments-pyc py3-markdown py3-docutils lzip gzip bzip2 xz zstd
ADD cgit.ini /etc/uwsgi/cgit.ini
RUN adduser -D -S -h /var/lib/cgit cgit
WORKDIR /var/lib/cgit
USER cgit
ENTRYPOINT ["/usr/sbin/uwsgi", "--ini", "/etc/uwsgi/cgit.ini"]