Skip to content

Pin Node 22 for Docker UI builds - #12

Merged
boma96 merged 1 commit into
mainfrom
fix/pin-node-docker-ui-builder
Nov 26, 2026
Merged

boma96 merged 1 commit into
mainfrom
fix/pin-node-docker-ui-builder

Conversation

@boma96

@boma96 boma96 commented Nov 26, 2026

Copy link
Copy Markdown

Problem

The Jenkins multi-arch build of ghcr.io/codaxy/conductor:server fails in the ui-builder stage:

/bin/sh: 1: corepack: not found
ERROR: ... did not complete successfully: exit code: 127

node:lts now resolves to Node 26 (v26.13.1). Node 25 and later no longer ship corepack, so corepack enable fails. The Dockerfile hasn't changed; the floating base tag moved.

Change

Pin the UI build stages to node:22, the version ci.yml and ui-next-ci.yml build and test ui-next against. Dockerfile.next already uses it.

  • docker/server/Dockerfile: ui-builder stage
  • docker/ui/Dockerfile: builder stage (same node:lts + corepack enable pattern, so it would fail the same way)

Verification

  • docker run node:lts → v26.13.1, no corepack; docker run node:22 → v22.23.5, corepack at /usr/local/bin/corepack
  • docker build -f docker/server/Dockerfile --target ui-builder . → pnpm install and pnpm build succeed locally
  • docker/ui/Dockerfile not built separately (same base image and same commands)
  • Full multi-arch Jenkins build not run yet

Not in this PR

publish.yml, publish_s3.yaml and publish_build.yaml use actions/setup-node with node-version: 'lts/*' followed by corepack enable. They will likely hit the same failure on their next run.

🤖 Generated with Claude Code

node:lts now resolves to Node 26, which no longer ships corepack, so
`corepack enable` fails with exit 127 and breaks the server and UI image
builds. Pin to node:22, the version CI builds and tests ui-next against.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
@boma96
boma96 merged commit 6d0dbea into main Nov 26, 2026
12 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant