fix: npm-real launcher (npm is a JS symlink, mv broke it); keep .git in vendored git: packages (pi runs git fetch on existing installs)

This commit is contained in:
Raphael Westphal
2026-08-19 11:08:22 +02:00
parent cbf52d2b76
commit 0bfa55a94a
5 changed files with 16 additions and 13 deletions
+2 -2
View File
@@ -17,9 +17,9 @@ RUN npm install -g --ignore-scripts @earendil-works/pi-coding-agent
# scripts (husky etc.) crash headless installs. Route installs through
# --ignore-scripts so ALL dotfiles packages (pi-subagents, todo tooling,
# async agents, every extension) survive the bake.
RUN mv /usr/local/bin/npm /usr/local/bin/npm-real
COPY docker/npm-real /usr/local/bin/npm-real
COPY docker/npm-shim /usr/local/bin/npm
RUN chmod +x /usr/local/bin/npm
RUN chmod +x /usr/local/bin/npm-real /usr/local/bin/npm
# User's pi config from dotfiles (settings, skills, agents, extensions,
# APPEND_SYSTEM.md) — synced by deploy.sh from ~/.dotfiles/pi/agent (filtered: