Skip to content

Commit ca8699d

Browse files
authored
Merge pull request #508 from idaholab/fix/corepack-build
Install corepack
2 parents be9cef1 + 1b75ab4 commit ca8699d

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

Dockerfile

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,8 @@ RUN apk add --no-cache build-base musl-dev openssl openssl-dev
2424
RUN apk update add --update nodejs=21.7.3
2525
RUN apk add --update npm
2626
RUN npm config set strict-ssl false
27-
RUN npm install -g @napi-rs/cli # this is needed for the Rust/Node library interopt
27+
# Install corepack separately so it is found during builds.
28+
RUN npm install -g corepack @napi-rs/cli # this is needed for the Rust/Node library interopt
2829
RUN npm install npm@latest --location=global
2930
RUN npm update --location=global
3031
RUN npm install cargo-cp-artifact --location=global

0 commit comments

Comments
 (0)