Skip to content

Commit c0daad6

Browse files
committed
Install opencode
1 parent 9d6e7cc commit c0daad6

File tree

2 files changed

+13
-5
lines changed

2 files changed

+13
-5
lines changed

Dockerfile

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -19,12 +19,16 @@ ENV \
1919

2020
ARG \
2121
# renovate: datasource=npm depName=@anthropic-ai/claude-code
22-
CLAUDE_CLI_VERSION=2.0.64 \
22+
CLAUDE_CLI_VERSION=2.0.73 \
2323
# renovate: datasource=npm depName=@google/gemini-cli
24-
GEMINI_CLI_VERSION=0.20.2
24+
GEMINI_CLI_VERSION=0.21.3 \
25+
# renovate: datasource=npm depName=opencode-ai
26+
OPENCODE_AI_VERSION=1.0.169
2527

26-
RUN npm install -g "@anthropic-ai/claude-code@$CLAUDE_CLI_VERSION" && \
27-
npm install -g "@google/gemini-cli@$GEMINI_CLI_VERSION"
28+
RUN npm install -g \
29+
"@anthropic-ai/claude-code@$CLAUDE_CLI_VERSION" \
30+
"@google/gemini-cli@$GEMINI_CLI_VERSION" \
31+
"opencode-ai@$OPENCODE_AI_VERSION"
2832

2933
USER root
3034
ARG \

README.md

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# cli-sandbox
22

3-
Run `gemini` and `claude` in a docker container.
3+
Run `claude`, `gemini` or `opencode` in a docker container.
44

55
`iptables` is used inside the container to block all outbound traffic except GitHub, Anthropic, and Google Cloud internal IPs.
66

@@ -76,6 +76,10 @@ gemini() {
7676
claude() {
7777
ccli claude
7878
}
79+
80+
opencode() {
81+
ccli opencode
82+
}
7983
```
8084

8185
## Attribution

0 commit comments

Comments
 (0)