From 9e007eb7de831bb6e8542d7edab51c839533bda8 Mon Sep 17 00:00:00 2001 From: Christoph Helma Date: Mon, 8 Jul 2019 16:06:42 +0200 Subject: gitweb as docker service, initial commit --- Dockerfile | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 Dockerfile (limited to 'Dockerfile') diff --git a/Dockerfile b/Dockerfile new file mode 100644 index 0000000..28d267a --- /dev/null +++ b/Dockerfile @@ -0,0 +1,14 @@ +FROM alpine:latest +MAINTAINER Christoph Helma + +RUN apk update +RUN apk add lighttpd git-gitweb git-daemon perl-cgi +RUN rm -rf /var/cache/apk/* + +COPY gitweb.conf /etc/gitweb.conf +COPY lighttpd.conf /etc/lighttpd/lighttpd.conf + +EXPOSE 80 +VOLUME /var/git + +CMD ["lighttpd", "-D", "-f", "/etc/lighttpd/lighttpd.conf","2>&1"] -- cgit v1.2.3