Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# syntax=docker/dockerfile:1.7

FROM node:24-bookworm-slim AS build
FROM node:26-bookworm-slim AS build

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

🩺 Stability & Availability | 🔴 Critical | ⚡ Quick win

🧩 Analysis chain

🏁 Script executed:

#!/bin/sh
set -eu
docker run --rm node:26-bookworm-slim sh -lc 'command -v corepack'

Repository: jusso-dev/Muster

Length of output: 198


🏁 Script executed:

#!/bin/sh
set -eu

printf '\n== Dockerfile ==\n'
cat -n Dockerfile

printf '\n== CI / workflow files mentioning node ==\n'
git ls-files '.github/**' | while IFS= read -r f; do
  grep -nE 'node:|actions/setup-node|corepack|pnpm' "$f" || true
done

Repository: jusso-dev/Muster

Length of output: 2162


🌐 Web query:

Node.js 26 corepack bundled removed node 25 documentation corepack executable not included

💡 Result:

Corepack is no longer bundled with Node.js starting from version 25.0.0 [1][2]. The Node.js Technical Steering Committee decided to stop distributing the Corepack executable in Node.js 25+ releases, ending a period where it was distributed with Node.js versions 14.19.0 and 16.9.0 through 24.x [1][3]. If you were previously relying on the bundled corepack executable, you can continue using Corepack by installing it as a userland package via npm [1][4]. You can install it globally by running: npm install -g corepack@latest This command provides the same corepack functionality that was previously included in the Node.js distribution [5][4]. Node.js documentation has been updated to reflect this change and to direct users to the Corepack repository for installation instructions [1][6].

Citations:


Install Corepack before corepack enable. Node.js 26 no longer ships the bundled corepack binary, so the corepack enable steps in both stages will fail unless Corepack or pnpm is installed first.

🤖 Prompt for AI Agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.

In `@Dockerfile` at line 1, Update both Dockerfile stages around the existing
corepack enable steps to install Corepack or pnpm before invoking corepack
enable, ensuring the Node.js 26 image can execute the package-manager setup
successfully.

ENV PNPM_HOME=/pnpm
ENV PATH=$PNPM_HOME:$PATH
RUN corepack enable
Expand Down
Loading