diff --git a/src/Dockerfile b/src/Dockerfile index be0db442aa..a6c9e81219 100644 --- a/src/Dockerfile +++ b/src/Dockerfile @@ -454,7 +454,7 @@ RUN ARCH="${TARGETARCH:-$(dpkg --print-architecture)}" && \ # Tolerant of failure like the copilot/codex layers: agents configured for # backend: pi simply won't launch if this is absent, same degradation as # any other missing backend binary. -ARG PI_VERSION=1.4.0 +ARG PI_VERSION=1.5.0 RUN npm install -g --ignore-scripts --no-fund --no-audit \ "@earendil-works/pi-coding-agent@${PI_VERSION}" && npm cache clean --force || \ echo "WARN: pi CLI install failed — skipping" diff --git a/src/Dockerfile.contributor b/src/Dockerfile.contributor index 8a61a0a160..3eaaa579a1 100644 --- a/src/Dockerfile.contributor +++ b/src/Dockerfile.contributor @@ -486,7 +486,7 @@ RUN ARCH="${TARGETARCH:-$(dpkg --print-architecture)}" \ # installer here: it is mutable and executes remote shell as root. Pi publishes # npm-shrinkwrap.json, so install a pinned npm package with lifecycle scripts # disabled and fail the image build if the binary is absent. -ARG PI_CODING_AGENT_VERSION=1.4.0 +ARG PI_CODING_AGENT_VERSION=1.5.0 # Registry tarballs can briefly return 404 while a release propagates. npm's # fetch retries do not cover 404s, so retry the install with a bounded delay. RUN for attempt in 1 2 3; do \ diff --git a/src/pkg/config/dockerfile_contributor_test.go b/src/pkg/config/dockerfile_contributor_test.go index bb3786708e..4f1cc64a09 100644 --- a/src/pkg/config/dockerfile_contributor_test.go +++ b/src/pkg/config/dockerfile_contributor_test.go @@ -17,7 +17,7 @@ func TestContributorDockerfileInstallsPiWithoutCurlPipeShell(t *testing.T) { t.Fatal("Dockerfile.contributor must not execute the mutable pi.dev installer with curl|sh") } for _, want := range []string{ - "ARG PI_CODING_AGENT_VERSION=1.4.0", + "ARG PI_CODING_AGENT_VERSION=1.5.0", "@earendil-works/pi-coding-agent@${PI_CODING_AGENT_VERSION}", "npm install -g --ignore-scripts", "which pi",