File tree Expand file tree Collapse file tree 3 files changed +10
-0
lines changed
Expand file tree Collapse file tree 3 files changed +10
-0
lines changed Original file line number Diff line number Diff line change @@ -52,6 +52,11 @@ touch ~/.gitconfig
5252touch ~ /.gitignore
5353```
5454
55+ ``` sh
56+ mkdir -p ~ /.local/share/opencode
57+ [ ! -f ~ /.local/share/opencode/auth.json ] && echo ' {}' > ~ /.local/share/opencode/auth.json
58+ ```
59+
5560``` sh
5661touch ~ /.zsh_docker
5762touch ~ /.zsh_history
Original file line number Diff line number Diff line change @@ -17,6 +17,7 @@ services:
1717 - ~/.bash_history:/home/php/.bash_history
1818 - ~/.gitconfig:/home/php/.gitconfig
1919 - ~/.gitignore:/home/php/.gitignore
20+ - ~/.local/share/opencode/auth.json:/home/node/.local/share/opencode/auth.json
2021 - ~/.zsh_docker:/home/php/.zsh_docker
2122 - ~/.zsh_history:/home/php/.zsh_history
2223 - $SSH_AUTH_SOCK:/ssh-agent
Original file line number Diff line number Diff line change @@ -54,6 +54,10 @@ RUN getent group ${GROUP_ID} >/dev/null || groupadd -g ${GROUP_ID} php \
5454
5555USER php
5656
57+ WORKDIR /home/php
58+
59+ RUN curl -fsSL https://opencode.ai/install | bash -s -- --no-modify-path && mkdir -p "$HOME/.local/share/opencode"
60+
5761WORKDIR /app
5862
5963CMD /usr/bin/supervisord
You can’t perform that action at this time.
0 commit comments