aboutsummaryrefslogtreecommitdiffstats
path: root/cgit/Dockerfile
blob: c7d2640357705946feb37de08a782b63f8274b33 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
FROM	ankitrgadiya/cgit:debian-nginx

# This adds the Osmocom specific syntax highlighting + redmine/gerrit integration

RUN	apt-get update && \
	apt-get install -y --no-install-recommends \
		python3 \
		python3-markdown \
		python3-pygments

RUN	mkdir -p /usr/local/lib/cgit/filters

COPY	osmo-commit-filter.py /usr/local/lib/cgit/filters/osmo-commit-filter.py
COPY	syntax-highlighting.py /usr/local/lib/cgit/filters/syntax-highlighting.py