added cgit image
All checks were successful
CI / Build dyndns docker images (push) Successful in 1m4s
All checks were successful
CI / Build dyndns docker images (push) Successful in 1m4s
This commit is contained in:
8
cgit/Dockerfile
Normal file
8
cgit/Dockerfile
Normal 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"]
|
||||
Reference in New Issue
Block a user