chore(deps): dashboard image node 20 -> 26-alpine (+ corepack fix) - #133
Merged
Merged
Conversation
… 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>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Bumps the dashboard Dockerfile to node:26-alpine (#105). Node 25+ removed
corepackfrom core, so the existingcorepack enablefails on node 26 (corepack: not found, exit 127). Replaces it withnpm install -g pnpm@9.15.0in the deps and build stages.Validated (legacy docker build on node:26-alpine):
npm install -g pnpm@9.15.0✅ (corepack-removal fix)pnpm install --frozen-lockfile --filter=dashboard...✅ — all deps resolve/install under node 26next buildof this dashboard is green on host node (chore(deps): bump the dashboard-deps group across 1 directory with 13 updates #127/chore(deps): TS 6 + @types/node 26 + zod 4 (validated safe major bumps) #131/chore(deps-dev): bump typescript from 5.9.3 to 6.0.3 in /docs-site #110)(The full in-container
next buildis 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