chore(opencode-sandbox): add SSH config, git safe directory, and test setup

This commit is contained in:
2026-04-05 20:16:52 +00:00
parent 299de83f2f
commit 30ccdab8af
6 changed files with 150 additions and 0 deletions

View File

@@ -10,6 +10,10 @@ RUN pacman -Syu --noconfirm && \
opencode \
&& pacman -Scc --noconfirm
# Git safe directory system-wide config
RUN git config --system --add safe.directory /workspace
RUN git config --system --add safe.directory '*'
# Firewall script — blocks everything except your Gitea instance
COPY entrypoint.sh /entrypoint.sh
RUN chmod +x /entrypoint.sh