Skip to content

Commit 0585cd7

Browse files
for test
Signed-off-by: stoneshi-yunify <[email protected]>
1 parent f747e0c commit 0585cd7

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

base/Dockerfile

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -97,10 +97,13 @@ RUN curl -fsSL https://deb.nodesource.com/setup_22.x | bash -
9797
RUN apt-get install -y nodejs
9898

9999
# Install Yarn and other packages
100-
RUN npm install --global --force [email protected] yarn watch-cli typescript
100+
RUN npm install --global --force corepack@latest [email protected] yarn watch-cli typescript
101+
102+
# enable corepack
103+
RUN corepack enable pnpm
101104

102105
# Install pnpm
103-
RUN wget -qO- https://get.pnpm.io/install.sh | ENV="$HOME/.shrc" SHELL="$(which sh)" env PNPM_VERSION=10.17.1 sh -
106+
RUN corepack use pnpm@10.17.1
104107

105108
# Clean up
106109
RUN apt-get clean && \

0 commit comments

Comments
 (0)