@cloudflare/sandbox 0.7.10 → 0.7.11

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/Dockerfile CHANGED
@@ -1,3 +1,7 @@
1
+ # Bun version — override via --build-arg BUN_VERSION=$(cat .bun-version)
2
+ ARG BUN_VERSION=1
3
+ FROM oven/bun:${BUN_VERSION} AS bun-binary
4
+
1
5
  # Sandbox container images (default and python variants)
2
6
  # Multi-stage build optimized for Turborepo monorepo
3
7
 
@@ -26,7 +30,7 @@ FROM node:20-slim AS builder
26
30
  WORKDIR /app
27
31
 
28
32
  # Install Bun runtime (glibc version for glibc-compatible standalone binary)
29
- COPY --from=oven/bun:1 /usr/local/bin/bun /usr/local/bin/bun
33
+ COPY --from=bun-binary /usr/local/bin/bun /usr/local/bin/bun
30
34
 
31
35
  # Copy pruned lockfile and package.json files (for Docker layer caching)
32
36
  COPY --from=pruner /app/out/json/ .
@@ -126,7 +130,7 @@ RUN ln -s /usr/local/lib/node_modules/npm/bin/npm-cli.js /usr/local/bin/npm && \
126
130
  ln -s /usr/local/lib/node_modules/npm/bin/npx-cli.js /usr/local/bin/npx
127
131
 
128
132
  # Install Bun runtime from official image
129
- COPY --from=oven/bun:1 /usr/local/bin/bun /usr/local/bin/bun
133
+ COPY --from=bun-binary /usr/local/bin/bun /usr/local/bin/bun
130
134
 
131
135
  # Copy standalone binary
132
136
  COPY --from=builder /app/packages/sandbox-container/dist/sandbox /container-server/sandbox
package/dist/index.js CHANGED
@@ -3280,7 +3280,7 @@ function buildS3fsSource(bucket, prefix) {
3280
3280
  * This file is auto-updated by .github/changeset-version.ts during releases
3281
3281
  * DO NOT EDIT MANUALLY - Changes will be overwritten on the next version bump
3282
3282
  */
3283
- const SDK_VERSION = "0.7.10";
3283
+ const SDK_VERSION = "0.7.11";
3284
3284
 
3285
3285
  //#endregion
3286
3286
  //#region src/sandbox.ts