more tiny details
[docker_gitea.git] / setup.sh
index 9d9d54b..f240869 100755 (executable)
--- a/setup.sh
+++ b/setup.sh
@@ -13,6 +13,7 @@ if ! id -u "$HOST_GIT_UID" >/dev/null 2>&1; then
 fi
 
 install -d "$GITEA_HOME/data"
+install -o $HOST_GIT_USER -g $HOST_GIT_GROUP -m 0700 -d "$GITEA_HOME/.ssh"
 
 cat <<"EOF" | sudo tee $GITEA_HOME/docker-shell
 #!/bin/sh