mirror of
https://github.com/tiennm99/composes.git
synced 2026-10-19 02:14:09 +00:00
feat(paseo): install the agent CLIs named in AGENT_CLIS on start
The entrypoint runs each vendor's installer through gosu paseo for every name in AGENT_CLIS whose command is not already on PATH, so a fresh paseo-home volume comes up with agents ready. Defaults to claude and codex; the other four are opt-in. On start rather than in the Dockerfile: Docker seeds a named volume from the image once, at creation, so a build-time install into /home/paseo would only ever reach a volume that did not exist yet. The check also chowns /home/paseo first, since a freshly created volume can arrive owned by root and the base entrypoint has not run its own chown by then. Unknown names and failed installs are logged and skipped rather than taking the container down with them. entrypoint.sh loses its explanations to the README along the way.
This commit is contained in:
1 parent
696c314726
commit
feaf4b7e4c
4 files changed
+101
-41
No files matched your search
@@ -8,6 +8,7 @@ services:
|
||||
- PASEO_PASSWORD=${PASEO_PASSWORD}
|
||||
- PASEO_HOSTNAMES=${PASEO_HOSTNAMES}
|
||||
- PASEO_TRUSTED_PROXIES=${PASEO_TRUSTED_PROXIES}
|
||||
- AGENT_CLIS=${AGENT_CLIS}
|
||||
- GIT_AUTHOR_NAME=${GIT_NAME}
|
||||
- GIT_AUTHOR_EMAIL=${GIT_EMAIL}
|
||||
- GIT_COMMITTER_NAME=${GIT_NAME}
|
||||
|
||||
Reference in new issue
Block a user