# https://git.zx2c4.com/cgit/ FROM alpine ARG NORMALMODE_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/ RUN echo "
$(apk version cgit | awk '/cgit/{print $1}') | $NORMALMODE_VERSION
" >/footer EXPOSE 80 CMD ["/usr/sbin/httpd", "-DFOREGROUND"]