Skip to content

Commit

Permalink
Update corepack
Browse files Browse the repository at this point in the history
The corepack version that is currently shipping with Node.js releases
fails to install the latest release of pnpm due to missing an updated
signature key.

Update the corepack version to the latest available.
  • Loading branch information
julienp committed Jan 31, 2025
1 parent 58a8226 commit ab23566
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion docker/pulumi/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -162,7 +162,8 @@ RUN fnm install 18 && \
fnm install 23 && \
fnm alias 22 default
ENV PATH=/usr/local/share/fnm/aliases/default/bin:$PATH
RUN corepack install --global pnpm yarn
RUN npm install -g corepack && \
corepack install -g pnpm yarn@1

# Passing --build-arg PULUMI_VERSION=vX.Y.Z will use that version
# of the SDK. Otherwise, we use whatever get.pulumi.com thinks is
Expand Down

0 comments on commit ab23566

Please sign in to comment.