Skip to content

chore: update Dockerfile and package.json to pin pnpm version#1893

Merged
gustavobtflores merged 1 commit into
kernelci:mainfrom
gustavobtflores:chore/pin-build-pnpm-version
May 12, 2026
Merged

chore: update Dockerfile and package.json to pin pnpm version#1893
gustavobtflores merged 1 commit into
kernelci:mainfrom
gustavobtflores:chore/pin-build-pnpm-version

Conversation

@gustavobtflores
Copy link
Copy Markdown
Contributor

Description

Pin the frontend pnpm version used by Docker builds to avoid CI failures caused by installing the latest pnpm release with incompatible Node.js engine requirements.

Changes

  • Add packageManager: pnpm@10.33.3 to the dashboard package metadata.
  • Replace the floating global pnpm install in the dashboard Dockerfile with pnpm@10.33.3.
  • Keep pnpm install --frozen-lockfile for reproducible dependency installs.

How to test

  1. Run docker buildx build --file ./dashboard/Dockerfile --tag dashboard-frontend:local --load ..
  2. Confirm the build reaches pnpm install --frozen-lockfile without installing pnpm@latest.
  3. Confirm the frontend image builds successfully.

Closes #1892

Copy link
Copy Markdown
Contributor

@alanpeixinho alanpeixinho left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@gustavobtflores gustavobtflores added this pull request to the merge queue May 12, 2026
Merged via the queue into kernelci:main with commit 6e6f959 May 12, 2026
7 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.

Frontend Docker image build fails because unpinned pnpm latest requires Node >= 22.13

2 participants