# https://git.zx2c4.com/cgit/ FROM alpine ARG SRCNODE_VERSION RUN apk --no-cache upgrade RUN apk --no-cache add apache2 cgit COPY httpd.conf /etc/apache2/ COPY cgitrc /etc/ COPY favicon.ico logo.png /usr/share/srcnode/ RUN echo "
$(apk version cgit | awk '/cgit/{print $1}') | $SRCNODE_VERSION
" >/footer EXPOSE 80 CMD ["/usr/sbin/httpd", "-DFOREGROUND"]