Skip to content

Commit 63d5839

Browse files
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

File tree

‎Dockerfile‎

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -52,8 +52,7 @@ FROM ubuntu:26.04 AS base
5252

5353
ARG NODE_VERSION
5454
ARG VSCODIUM_VERSION
55-
ARG PI_FORK
56-
ARG PI_REF
55+
ARG PI_VERSION=0.84.4
5756
ARG PI_HEAD_SHA
5857
ARG CONFIG_FORK
5958
ARG CONFIG_REF

0 commit comments

Comments
 (0)