feat: full pi config in containers — git: packages vendored at bake (ignore-scripts), npm shim for runtime installs, dotfiles mount + POST /api/pi-config/resync rebuilds worker+ops images (95% cover, race clean)
This commit is contained in:
@@ -12,6 +12,11 @@ RUN apt-get update \
|
||||
|
||||
RUN npm install -g --ignore-scripts @earendil-works/pi-coding-agent
|
||||
|
||||
# Same npm shim as the worker image (see worker.Dockerfile).
|
||||
RUN mv /usr/local/bin/npm /usr/local/bin/npm-real
|
||||
COPY docker/npm-shim /usr/local/bin/npm
|
||||
RUN chmod +x /usr/local/bin/npm
|
||||
|
||||
# Same pi config as workers (dotfiles, filtered; git: packages stripped).
|
||||
COPY docker/pi-agent/ /root/.pi/agent/
|
||||
COPY plugin/lvmh-agent.ts /root/.pi/agent/extensions/lvmh-agent.ts
|
||||
|
||||
Reference in New Issue
Block a user