Repository navigation
Commit 63d5839
committed
fix(Dockerfile): declare PI_VERSION in base stage (ARG is stage-scoped)
The de-fork commit replaced the fork clone with 'npm install -g
@earendil-works/pi-coding-agent@${PI_VERSION}' but left the base stage's
ARG redeclaration list with the dead PI_FORK/PI_REF entries and no
PI_VERSION. ARGs are stage-scoped, so the ${PI_VERSION} in the RUN was
passed to the shell unsubstituted and 'set -u' aborted the image build
('PI_VERSION: parameter not set') — caught by the 0.0.74-lpb-dev CI run.
Replace the dead ARG PI_FORK/PI_REF with ARG PI_VERSION=0.84.4 (default
keeps local builds without --build-arg working, matching the global ARG).1 parent 380dee8 commit 63d5839
1 file changed
Lines changed: 1 addition & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
52 | 52 | | |
53 | 53 | | |
54 | 54 | | |
55 | | - | |
56 | | - | |
| 55 | + | |
57 | 56 | | |
58 | 57 | | |
59 | 58 | | |
| |||
0 commit comments