diff options
Diffstat (limited to 'cgit/Dockerfile')
-rw-r--r-- | cgit/Dockerfile | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/cgit/Dockerfile b/cgit/Dockerfile index 28891c7..904712f 100644 --- a/cgit/Dockerfile +++ b/cgit/Dockerfile @@ -1,16 +1,16 @@ # https://git.zx2c4.com/cgit/ FROM alpine -ARG NORMALMODE_VERSION +ARG SRCNODE_VERSION RUN apk --no-cache upgrade RUN apk --no-cache add apache2 cgit COPY httpd.conf /etc/apache2/ COPY cgitrc /etc/ -COPY logo.png /usr/share/normalmode/ +COPY logo.png /usr/share/srcnode/ -RUN echo "<div class=\"footer\">$(apk version cgit | awk '/cgit/{print $1}') | $NORMALMODE_VERSION</div>" >/footer +RUN echo "<div class=\"footer\">$(apk version cgit | awk '/cgit/{print $1}') | $SRCNODE_VERSION</div>" >/footer EXPOSE 80 CMD ["/usr/sbin/httpd", "-DFOREGROUND"] |