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:
tiennm99 committed 2026-09-17 10:09:02 +07:00
1 parent 55e8f7321d
commit f39ca227ce
2 files changed
+15

No files matched your search

+4
View File
@@ -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.