fix: enable git-over-ssh cloning for private repo installs

The manager image had git but not openssh-client, so ssh:// clones
failed outright ("cannot run ssh"). Install openssh-client, and mount
an SSH_DIR (key + known_hosts) into the container read-only so private
repos can actually authenticate — confirmed both gaps while deploying
against real private Zenvairo repos.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
This commit is contained in:
dasemuandClaude Sonnet 5 committed 2026-10-08 04:27:49 +02:00
1 parent 359d4369e8
commit 223b1ab8eb
4 files changed
+18 -1

No files matched your search

+4
View File
@@ -18,6 +18,10 @@ services:
volumes:
- /var/run/docker.sock:/var/run/docker.sock
- ./data:/repo/data
# Reuses the host's own SSH key/known_hosts so the manager can `git clone` private
# repos over ssh:// the same way the host itself already does. Read-only.
# SSH_DIR must be an absolute path (compose doesn't expand "~").
- ${SSH_DIR}:/root/.ssh:ro
networks:
- mcp-net