aboutsummaryrefslogtreecommitdiff
path: root/services/docker/git-server/Dockerfile
diff options
context:
space:
mode:
Diffstat (limited to 'services/docker/git-server/Dockerfile')
-rw-r--r--services/docker/git-server/Dockerfile4
1 files changed, 4 insertions, 0 deletions
diff --git a/services/docker/git-server/Dockerfile b/services/docker/git-server/Dockerfile
index 8a671d7..b725122 100644
--- a/services/docker/git-server/Dockerfile
+++ b/services/docker/git-server/Dockerfile
@@ -4,6 +4,10 @@ RUN apt-get update && apt-get install -y \
tar gzip bzip2 zip unzip tini && \
rm -rf /var/lib/apt/lists/*
+ENV GIT_CONFIG_SYSTEM=/etc/gitconfig GIT_CONFIG_GLOBAL=/git/private/gitconfig
+
+ADD gitconfig /etc/gitconfig
+ADD --chmod=755 hooks/* /etc/git/hooks/
ADD git-lighttpd.conf git-auth.conf /app/
ADD --chmod=755 lighttpd-wrapper.bash /app/