From 00f8fd8a71ad956dda0e90a42f947f1f805585dc Mon Sep 17 00:00:00 2001 From: Daniel Weipert Date: Sun, 17 Sep 2023 14:34:50 +0200 Subject: inital commit --- docker/cgit/Dockerfile | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 docker/cgit/Dockerfile (limited to 'docker/cgit/Dockerfile') diff --git a/docker/cgit/Dockerfile b/docker/cgit/Dockerfile new file mode 100644 index 0000000..187cf10 --- /dev/null +++ b/docker/cgit/Dockerfile @@ -0,0 +1,23 @@ +FROM httpd + + +EXPOSE 80 +EXPOSE 443 + + +ARG DEBIAN_FRONTEND=noninteractive +RUN apt-get update + +RUN apt-get install -y \ + cgit \ + python3 + +RUN : \ + && a2enmod cgi + + +COPY docker-init.py / +COPY docker-entrypoint.sh / + +ENTRYPOINT ["/docker-entrypoint.sh"] +CMD ["init"] -- cgit v1.2.3