blob: 768a53dd1af4d521263e356fc2193cc264712346 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
|
# https://git.zx2c4.com/cgit/
# https://wiki.archlinux.org/title/Cgit
FROM archlinux
# Install cgit and webserver
RUN pacman-key --init
RUN pacman -Syu --needed --noconfirm apache cgit
# Copy configuration files
# Back-end datastore is expected to be mounted to /data (read-only)
COPY httpd.conf /etc/httpd/conf/httpd.conf
COPY cgitrc /etc/cgitrc
EXPOSE 80
CMD ["/usr/bin/httpd", "-DFOREGROUND"]
|