Skip to content

Commit 3e2cfbd

Browse files
authored
fix: install pnpm via official install script (#12)
* feat: add opencode and tmux to Docker container - Install tmux via apt for interactive coding agent sessions - Install opencode-ai globally via npm for delegating coding tasks - Configure opencode at startup: maps OPENCODE_GO_API_KEY env var to opencode's google provider via .opencode.json - tmux enables multi-turn interactive opencode sessions (one-shot tasks via `opencode run`, interactive via tmux) * fix: remove wrong GEMINI_API_KEY mapping from entrypoint OpenCode Go is OpenCode's own subscription service, not Google Gemini. The OPENCODE_GO_API_KEY is already set as a K8s secret and opencode natively recognizes the opencode-go provider. No extra config needed. Models use format: opencode-go/<model-id> (e.g. opencode-go/qwen3.6-plus) * remove unnecessary OpenCode config comments from entrypoint.sh
1 parent 8ab07db commit 3e2cfbd

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

Dockerfile

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,8 @@ RUN npm install --prefer-offline --no-audit && \
5555
(cd web && npm install --prefer-offline --no-audit) && \
5656
(cd ui-tui && npm install --prefer-offline --no-audit) && \
5757
npm cache clean --force && \
58-
npm install -g opencode-ai@latest pnpm
58+
npm install -g opencode-ai@latest && \
59+
curl -fsSL https://get.pnpm.io/install.sh | sh -
5960

6061
# ---------- Source code ----------
6162
# .dockerignore excludes node_modules, so the installs above survive.

0 commit comments

Comments
 (0)