File tree Expand file tree Collapse file tree 2 files changed +8
-7
lines changed
Expand file tree Collapse file tree 2 files changed +8
-7
lines changed Original file line number Diff line number Diff line change 33FROM alpine:latest
44
55RUN set -xe && \
6- apk add --no-cache --purge -uU \
7- curl git cgit highlight py3-pygments python3 py3-markdown markdown \
8- libzip libcrypto3 libssl3 \
9- fcgiwrap spawn-fcgi nginx gettext dumb-init && \
10- rm -rf /var/cache/apk/* /tmp/* && \
11- mkdir -p /srv/git
6+ apk add --no-cache --purge -uU \
7+ curl git cgit highlight python3 py3-markdown markdown \
8+ libzip libcrypto3 libssl3 \
9+ fcgiwrap spawn-fcgi nginx gettext dumb-init && \
10+ rm -rf /var/cache/apk/* /tmp/* && \
11+ mkdir -p /srv/git && \
12+ sed -i '118 s/^/#/' /usr/lib/cgit/filters/syntax-highlighting.sh && \
13+ echo 'exec highlight --force --inline-css -f -I -O xhtml -S "$EXTENSION" 2>/dev/null' >> /usr/lib/cgit/filters/syntax-highlighting.sh
1214
1315ENV ROOT_TITLE="Git" \
1416 ROOT_DESC="My git repositories" \
Original file line number Diff line number Diff line change @@ -7,7 +7,6 @@ root-title=$ROOT_TITLE
77root-desc=$ROOT_DESC
88root-readme=$ROOT_README
99
10- # Fast syntax highlighting optimized for cgit
1110source-filter=/usr/lib/cgit/filters/syntax-highlighting.sh
1211about-filter=/usr/lib/cgit/filters/about-formatting.sh
1312
You can’t perform that action at this time.
0 commit comments