From 246aeeda471d69d52322d5d1276dbf41e1dd59db Mon Sep 17 00:00:00 2001 From: Malfurious Date: Tue, 2 Aug 2022 20:29:54 -0400 Subject: Add gitolite gitconfig file Signed-off-by: Malfurious --- conf/.gitconfig | 6 ++++++ docker/Dockerfile.gitolite | 1 + 2 files changed, 7 insertions(+) create mode 100644 conf/.gitconfig diff --git a/conf/.gitconfig b/conf/.gitconfig new file mode 100644 index 0000000..a998fec --- /dev/null +++ b/conf/.gitconfig @@ -0,0 +1,6 @@ +[init] + defaultBranch = master +[user] + useConfigOnly = true + name = gitolite + email = gitolite diff --git a/docker/Dockerfile.gitolite b/docker/Dockerfile.gitolite index c6f2f43..0cccaf1 100644 --- a/docker/Dockerfile.gitolite +++ b/docker/Dockerfile.gitolite @@ -15,6 +15,7 @@ RUN pacman -Syu --needed --noconfirm gitolite COPY $pubkey / RUN runuser -u gitolite -- gitolite setup -pk /$pubkey RUN runuser -u gitolite -- ln -sf .gitolite/conf/.gitolite.rc /var/lib/gitolite +RUN runuser -u gitolite -- ln -sf .gitolite/conf/.gitconfig /var/lib/gitolite VOLUME /var/lib/gitolite # sshd host keys are stored in a volume so that rebuilding/updating the -- cgit v1.2.3