fix(images): install nodejs-corepack so corepack enable works
Some checks failed
build / fmt (push) Successful in 41s
build / check (push) Successful in 2m42s
build / clippy (push) Successful in 2m49s
images / check-act-runner (push) Successful in 31s
images / build-ubuntu-24.04 (push) Successful in 4s
build / test (push) Successful in 3m14s
images / build-rust-ubuntu (push) Successful in 31s
images / build-fedora-43 (push) Failing after 1m54s
images / build-rust (push) Has been skipped
images / build-rpm (push) Has been skipped
images / build-cuda-13.0 (push) Has been skipped
images / build-rust-gtk3 (push) Has been skipped
images / build-deb (push) Successful in 1m40s

The fedora-43 nodejs rpm does not bundle corepack (unlike the upstream
Node.js distribution); it ships in a separate nodejs-corepack
subpackage. Without it the corepack/pnpm activation step failed with
'corepack: command not found' (exit 127).

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
This commit is contained in:
2026-05-14 10:42:13 +03:00
parent 025dc85503
commit 054f315952

View File

@@ -12,12 +12,13 @@ RUN dnf install -y --setopt=install_weak_deps=False \
git \
jq \
nodejs \
nodejs-corepack \
npm \
podman-remote \
rsync \
&& dnf clean all
# pnpm as a first-class peer of npm. corepack ships with nodejs.
# pnpm as a first-class peer of npm, via corepack (nodejs-corepack rpm).
RUN corepack enable && corepack prepare pnpm@latest --activate
# Install act_runner binary.