aboutsummaryrefslogtreecommitdiffstats
path: root/gitolite-cgit
diff options
context:
space:
mode:
Diffstat (limited to 'gitolite-cgit')
-rw-r--r--gitolite-cgit/Dockerfile3
1 files changed, 3 insertions, 0 deletions
diff --git a/gitolite-cgit/Dockerfile b/gitolite-cgit/Dockerfile
index 4fde9a2..c235ed6 100644
--- a/gitolite-cgit/Dockerfile
+++ b/gitolite-cgit/Dockerfile
@@ -20,6 +20,9 @@ RUN set -xe \
&& rm -rf /var/cache/apk/* \
&& rm -rf /tmp/*
+# Volume to store all ssh host key
+VOLUME [ "/etc/ssh" ]
+
# Volume to store Gitolite data, used for Gitolite setup
VOLUME [ "/var/lib/git" ]