chore(opencode-sandbox): add SSH auth and workspace mount for Gitea

- Mount host workspace at /home/ga/workspace
- Add SSH key and known_hosts for Gitea auth
- Configure git user identity in container
This commit is contained in:
2026-04-05 18:19:34 +00:00
parent e8bb767884
commit 32e5eb8906
3 changed files with 11 additions and 11 deletions

View File

@@ -1,2 +1,5 @@
#!/bin/bash
export GIT_SSH_COMMAND="ssh -i /root/.ssh/id_ed25519 -o StrictHostKeyChecking=accept-new"
git config --global user.email "gabriel.pereira@protonmail.com"
git config --global user.name "gabspereira"
exec opencode