Skip to content

Commit fd5ec7f

Browse files
remove yarn/pnpm from the image (#27)
1 parent 7de28be commit fd5ec7f

File tree

2 files changed

+7
-5
lines changed

2 files changed

+7
-5
lines changed

.changeset/wide-radios-brush.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
"@cloudflare/sandbox": patch
3+
---
4+
5+
remove yarn and pnpm from the image

packages/sandbox/Dockerfile

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -55,8 +55,6 @@ RUN apt-get update && apt-get install -y ca-certificates curl gnupg \
5555
COPY --from=bun-source /usr/local/bin/bun /usr/local/bin/bun
5656
COPY --from=bun-source /usr/local/bin/bunx /usr/local/bin/bunx
5757

58-
# Install global npm packages as root
59-
RUN npm install -g yarn pnpm
6058

6159
# Set up working directory
6260
WORKDIR /app
@@ -65,9 +63,8 @@ WORKDIR /app
6563
RUN python3 --version && \
6664
node --version && \
6765
npm --version && \
68-
bun --version && \
69-
yarn --version && \
70-
pnpm --version
66+
bun --version
67+
7168

7269
# Copy container source files
7370
COPY container_src/ ./

0 commit comments

Comments
 (0)