You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@answer.apache.org by li...@apache.org on 2024/04/17 11:10:28 UTC

(incubator-answer) branch main updated: ci(dockerfile): set fix pnpm version

This is an automated email from the ASF dual-hosted git repository.

linkinstar pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/incubator-answer.git


The following commit(s) were added to refs/heads/main by this push:
     new 7a6e5061 ci(dockerfile): set fix pnpm version
7a6e5061 is described below

commit 7a6e5061e5d720157f2aafd07da1a82aaceb543d
Author: LinkinStars <li...@foxmail.com>
AuthorDate: Wed Apr 17 19:03:16 2024 +0800

    ci(dockerfile): set fix pnpm version
---
 Dockerfile | 2 +-
 Makefile   | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/Dockerfile b/Dockerfile
index 6278e1a5..bd5f8768 100644
--- a/Dockerfile
+++ b/Dockerfile
@@ -34,7 +34,7 @@ ARG CGO_EXTRA_CFLAGS
 
 COPY . ${BUILD_DIR}
 WORKDIR ${BUILD_DIR}
-RUN apk --no-cache add build-base git bash nodejs npm && npm install -g pnpm@latest \
+RUN apk --no-cache add build-base git bash nodejs npm && npm install -g pnpm@8.9.2 \
     && make clean build
 
 RUN chmod 755 answer
diff --git a/Makefile b/Makefile
index 9da39bec..b64987b3 100644
--- a/Makefile
+++ b/Makefile
@@ -38,7 +38,7 @@ clean:
 
 install-ui-packages:
 	@corepack enable
-	@corepack prepare pnpm@latest --activate
+	@corepack prepare pnpm@8.9.2 --activate
 
 ui:
 	@cd ui && pnpm pre-install && pnpm build && cd -