mirror of
https://github.com/tiennm99/composes.git
synced 2026-10-15 00:17:12 +00:00
feat(paseo): put the agent CLI install dirs on the image PATH
The daemon probes each provider's binary with `which` in its own environment, which comes from the image and never sources a shell rc, so agents installed into $HOME were reported unavailable.
This commit is contained in:
1 parent
55e8f7321d
commit
f39ca227ce
2 files changed
+15
No files matched your search
@@ -44,6 +44,10 @@ RUN install -d -m 0755 /etc/apt/keyrings \
|
||||
&& rm -f /tmp/glab.deb \
|
||||
&& rm -rf /var/lib/apt/lists/*
|
||||
|
||||
# --- agent cli path --------------------------------------------------------
|
||||
# Puts the $HOME directories the agent installers write to on PATH.
|
||||
ENV PATH=/home/paseo/.local/bin:/home/paseo/.opencode/bin:$PATH
|
||||
|
||||
# --- entrypoint ------------------------------------------------------------
|
||||
# Wraps the image's entrypoint to set the paseo user's password while still
|
||||
# root -- see entrypoint.sh.
|
||||
|
||||
Reference in new issue
Block a user