aboutsummaryrefslogtreecommitdiffstats
path: root/gitolite-cgit/Dockerfile
diff options
context:
space:
mode:
authorJesus E <heckyel@riseup.net>2023-07-03 16:23:00 -0400
committerJesus E <heckyel@riseup.net>2023-07-03 16:23:00 -0400
commit1e6f82e10d587b4778ca0bc603e260213078b09b (patch)
tree2e8568f903c00b8d3867575507738ae6546b509b /gitolite-cgit/Dockerfile
parent0dab6b6f05330588c346894528a60d41a2b7e676 (diff)
downloadgitolite-cgit-docker-1e6f82e10d587b4778ca0bc603e260213078b09b.tar.lz
gitolite-cgit-docker-1e6f82e10d587b4778ca0bc603e260213078b09b.tar.xz
gitolite-cgit-docker-1e6f82e10d587b4778ca0bc603e260213078b09b.zip
Add auto-default-branch
Diffstat (limited to 'gitolite-cgit/Dockerfile')
-rw-r--r--gitolite-cgit/Dockerfile2
1 files changed, 2 insertions, 0 deletions
diff --git a/gitolite-cgit/Dockerfile b/gitolite-cgit/Dockerfile
index b64fee8..b9458a3 100644
--- a/gitolite-cgit/Dockerfile
+++ b/gitolite-cgit/Dockerfile
@@ -34,11 +34,13 @@ WORKDIR /var/lib/git
COPY cgit.css /usr/share/webapps/cgit/cgit.css
COPY md2html /usr/lib/cgit/filters/html-converters/md2html
COPY syntax-highlighting.py /usr/lib/cgit/filters/syntax-highlighting.py
+COPY auto-default-branch.sh /usr/lib/gitolite/triggers/auto-default-branch
COPY gitolite.rc /var/lib/git/.gitolite.rc
COPY entrypoint.sh /
RUN chmod u+x /usr/lib/cgit/filters/html-converters/md2html
RUN chmod u+x /usr/lib/cgit/filters/syntax-highlighting.py
+RUN chmod a+x /usr/lib/gitolite/triggers/auto-default-branch
RUN chmod u+x /entrypoint.sh
ENTRYPOINT ["/entrypoint.sh"]