diff --git a/cgit/Dockerfile b/cgit/Dockerfile index 9751a9669b5b8385138f5dc453f0ac19d9c2a133..10b8a45270134793b02228d7daea3db2848d1da6 100644 --- a/cgit/Dockerfile +++ b/cgit/Dockerfile @@ -6,7 +6,6 @@ RUN apt-get update && \ DEBIAN_FRONTEND=noninteractive apt-get install -y \ cgit \ groff-base \ - patch \ python3-docutils \ python3-markdown \ python3-pygments \ @@ -15,8 +14,5 @@ RUN apt-get update && \ a2enconf cgit && \ install -d -o www-data -g www-data -m 755 /var/cache/cgit && \ rm -rf /tmp/* /var/tmp/* /var/lib/apt/lists/* /var/cache/apt/archives/* -COPY --chown=root:root patch.diff /root/ COPY --chown=root:root cgitrc /etc/ -RUN patch --strip 0 --verbose --directory /etc/apache2 --input /root/patch.diff && \ - apache2 -t USER www-data diff --git a/cgit/patch.diff b/cgit/patch.diff deleted file mode 100644 index 7b9e2f813ee4247913ef4738bdf435796e191967..0000000000000000000000000000000000000000 --- a/cgit/patch.diff +++ /dev/null @@ -1,11 +0,0 @@ ---- mods-available/status.conf 2019-04-03 00:13:44.000000000 +0300 -+++ mods-available/status.conf 2019-11-09 19:59:09.642896703 +0200 -@@ -5,7 +5,7 @@ - - <Location /server-status> - SetHandler server-status -- Require local -+ #Require local - #Require ip 192.0.2.0/24 - </Location> -