aboutsummaryrefslogtreecommitdiffstats
path: root/gitolite-cgit/Dockerfile
diff options
context:
space:
mode:
authorJesús <heckyel@hyperbola.info>2022-10-06 11:44:26 +0800
committerJesús <heckyel@hyperbola.info>2022-10-06 11:44:26 +0800
commit31deddce8f8232448b3377c7a9d05fb26d73971a (patch)
treea02343c129b056800ececf4a5b38b57e1bc35acf /gitolite-cgit/Dockerfile
parent1557c11cbadc4656ea89eb1f84e6b1427be3fd5b (diff)
downloadgitolite-cgit-docker-31deddce8f8232448b3377c7a9d05fb26d73971a.tar.lz
gitolite-cgit-docker-31deddce8f8232448b3377c7a9d05fb26d73971a.tar.xz
gitolite-cgit-docker-31deddce8f8232448b3377c7a9d05fb26d73971a.zip
Revert "Remove unimportant volume"
This reverts commit b4c1e8004bdc7f7c0f784cdb8826bf4724460bd2.
Diffstat (limited to 'gitolite-cgit/Dockerfile')
-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" ]