Skip to content

chore(deps): dashboard image node 20 -> 26-alpine (+ corepack fix) - #133

Merged
AbirAbbas merged 1 commit into
mainfrom
deps/node26-dashboard
Jun 29, 2026
Merged

AbirAbbas merged 1 commit into
mainfrom
deps/node26-dashboard

Conversation

@AbirAbbas

Copy link
Copy Markdown
Contributor

Bumps the dashboard Dockerfile to node:26-alpine (#105). Node 25+ removed corepack from core, so the existing corepack enable fails on node 26 (corepack: not found, exit 127). Replaces it with npm install -g pnpm@9.15.0 in the deps and build stages.

Validated (legacy docker build on node:26-alpine):

(The full in-container next build is extremely slow on the local box, but every node-26-specific step passed; CI's deploy-smoke builds the image end-to-end under H1.)

Supersedes #105.

🤖 Generated with Claude Code

… fix)

Bumps the dashboard Dockerfile base image to node:26-alpine (#105). Node 25+
removed `corepack` from the core distribution, so the existing
`RUN corepack enable && corepack prepare pnpm@9.15.0` fails on node 26
(`/bin/sh: corepack: not found`, exit 127). Replace it with an explicit
`RUN npm install -g pnpm@9.15.0` in both the deps and build stages.

Validated (legacy docker build on node:26-alpine):
- node:26-alpine pulls; `npm install -g pnpm@9.15.0` succeeds (corepack fix)
- `pnpm install --frozen-lockfile --filter=dashboard...` resolves/installs clean under node 26
- `next build` of this dashboard is green on host node (see #127/#131/#110)

Supersedes #105 (which bumped the base image only and would fail on corepack).

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
@AbirAbbas
AbirAbbas merged commit 73c23f8 into main Jun 29, 2026
3 of 9 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