blob: e46aa21712ddcb5b8916dfb47cb115a4d886d953 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
|
FROM alpine:latest
RUN apk add --update-cache --upgrade --no-cache --purge \
gitolite openssh \
cgit nginx fcgiwrap spawn-fcgi \
py3-markdown py3-pygments \
rsyslog curl \
&& rm -rf /var/cache/apk
VOLUME /var/lib/git
EXPOSE 22 80
# -- rsyslogd
COPY etc/rsyslog.conf /etc
# -- sshd
COPY etc/sshd_config /etc/ssh/sshd_config
# -- nginx
COPY etc/cgit.conf /etc/nginx/http.d
# -- cgit
COPY etc/cgitrc /etc/cgitrc
# Override default logo.
COPY etc/logo.png /usr/share/webapps/cgit/cgit.png
# -- gitolite
COPY etc/gitolite.rc /etc/gitolite.rc
COPY entrypoint.sh /
ENTRYPOINT ["/entrypoint.sh"]
|