feat: add OpenCode CLI support in Docker

- Install OpenCode CLI in Dockerfile alongside Claude and Cursor
- Add automaker-opencode-config volume for persisting auth
- Add OpenCode directory setup in docker-entrypoint.sh
- Update docker-isolation.md with OpenCode documentation
- Add OpenCode bind mount example to docker-compose.override.yml.example
This commit is contained in:
Soham Dasgupta
2026-01-13 14:14:56 +05:30
parent 0dc70addb6
commit 62019d5916
5 changed files with 46 additions and 0 deletions

View File

@@ -16,6 +16,10 @@ services:
# This shares your 'cursor-agent login' OAuth session with the container
# - ~/.cursor:/home/automaker/.cursor
# OpenCode CLI - mount your ~/.local/share/opencode directory
# This shares your 'opencode auth login' session with the container
# - ~/.local/share/opencode:/home/automaker/.local/share/opencode
environment:
# Set root directory for all projects and file operations
# Users can only create/open projects within this directory