anon-pi 0.1.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/Dockerfile.pi ADDED
@@ -0,0 +1,23 @@
1
+ # A minimal image with `pi` (the Earendil Works coding agent) on PATH, for use as
2
+ # anon-pi's ANON_PI_IMAGE. It follows the official upstream containerization
3
+ # pattern (earendil-works/pi, packages/coding-agent/docs/containerization.md):
4
+ # node:24-bookworm-slim + the official `@earendil-works/pi-coding-agent` npm
5
+ # package, plus the handful of tools pi's built-in bash/grep/find expect.
6
+ #
7
+ # Note: unlike the upstream `Dockerfile.pi`, this image sets NO ENTRYPOINT and
8
+ # NO config volume. anon-pi passes `pi` as the run command and mounts pi's config
9
+ # itself (PI_CODING_AGENT_DIR), so the image just needs `pi` reachable on PATH.
10
+ #
11
+ # Build (pin a digest for reproducibility once pushed to a registry):
12
+ # podman build -t localhost/anon-pi-pi:latest -f Dockerfile.pi .
13
+ # export ANON_PI_IMAGE=localhost/anon-pi-pi:latest
14
+ FROM node:24-bookworm-slim
15
+
16
+ RUN apt-get update \
17
+ && apt-get install -y --no-install-recommends bash ca-certificates git ripgrep \
18
+ && rm -rf /var/lib/apt/lists/*
19
+
20
+ # The official pi coding agent CLI (puts `pi` on PATH).
21
+ RUN npm install -g --ignore-scripts @earendil-works/pi-coding-agent
22
+
23
+ WORKDIR /work