chore: workaround for npm registry key change for Dockerfile
This commit is contained in:
parent
12273eae1d
commit
835ed51da6
1 changed files with 4 additions and 1 deletions
|
@ -6,7 +6,10 @@ WORKDIR /elk
|
|||
FROM base AS builder
|
||||
|
||||
# Prepare pnpm https://pnpm.io/installation#using-corepack
|
||||
RUN corepack enable
|
||||
# workaround for npm registry key change
|
||||
# ref. `pnpm@10.1.0` / `pnpm@9.15.4` cannot be installed due to key id mismatch · Issue #612 · nodejs/corepack
|
||||
# - https://github.com/nodejs/corepack/issues/612#issuecomment-2629496091
|
||||
RUN npm i -g corepack@latest && corepack enable
|
||||
|
||||
# Prepare deps
|
||||
RUN apk update
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue