From 835ed51da6f5de8cad656fff087c0a128074391a Mon Sep 17 00:00:00 2001 From: TAKAHASHI Shuuji Date: Mon, 3 Feb 2025 12:48:39 +0900 Subject: [PATCH] chore: workaround for npm registry key change for `Dockerfile` --- Dockerfile | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index dee0072430..64974e1feb 100644 --- a/Dockerfile +++ b/Dockerfile @@ -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