diff options
Diffstat (limited to '')
-rw-r--r-- | cgit/Dockerfile | 3 | ||||
-rw-r--r-- | cgit/cgitrc | 3 |
2 files changed, 4 insertions, 2 deletions
diff --git a/cgit/Dockerfile b/cgit/Dockerfile index cb76fa9..28891c7 100644 --- a/cgit/Dockerfile +++ b/cgit/Dockerfile @@ -1,6 +1,7 @@ # https://git.zx2c4.com/cgit/ FROM alpine +ARG NORMALMODE_VERSION RUN apk --no-cache upgrade RUN apk --no-cache add apache2 cgit @@ -9,5 +10,7 @@ COPY httpd.conf /etc/apache2/ COPY cgitrc /etc/ COPY logo.png /usr/share/normalmode/ +RUN echo "<div class=\"footer\">$(apk version cgit | awk '/cgit/{print $1}') | $NORMALMODE_VERSION</div>" >/footer + EXPOSE 80 CMD ["/usr/sbin/httpd", "-DFOREGROUND"] diff --git a/cgit/cgitrc b/cgit/cgitrc index c4304a9..c5a09f3 100644 --- a/cgit/cgitrc +++ b/cgit/cgitrc @@ -1,11 +1,10 @@ # cgit config # see cgitrc(5) for details -# -# possible todos: header, footer css=/cgit.css logo=/logo.png logo-link=/ +footer=/footer root-title=NormalMode.org Repositories root-desc=Public repositories hosted on normalmode.org |