Skip to content

Commit 3a41dae

Browse files
committed
feat(gemini): enforce global YOLO alias in Dockerfile
1 parent 2c71ba9 commit 3a41dae

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

packages/lib/src/core/templates/dockerfile.ts

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,9 @@ RUN oh-my-opencode --version
6262
RUN npm install -g @anthropic-ai/claude-code@latest
6363
RUN claude --version
6464
RUN npm install -g @google/gemini-cli@latest --force
65-
RUN gemini --version`
65+
RUN gemini --version
66+
RUN printf "alias gemini='gemini --yolo'\n" >> /etc/bash.bashrc
67+
RUN printf "alias gemini='gemini --yolo'\n" >> /etc/zsh/zshrc`
6668

6769
const renderDockerfileOpenCode = (): string =>
6870
`# Tooling: OpenCode (binary)

0 commit comments

Comments
 (0)