diff options
-rw-r--r-- | conf/.gitconfig | 6 | ||||
-rw-r--r-- | docker/Dockerfile.gitolite | 1 |
2 files changed, 7 insertions, 0 deletions
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 |