From 49619e61018e256036e2d57dcc805618c427e4c8 Mon Sep 17 00:00:00 2001 From: Alessio Fanelli Date: Fri, 13 Jun 2025 11:14:28 -0700 Subject: [PATCH 1/2] Update constants.ts --- packages/cli/src/docker/constants.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/cli/src/docker/constants.ts b/packages/cli/src/docker/constants.ts index b9a2f1d3d9..867084dd70 100644 --- a/packages/cli/src/docker/constants.ts +++ b/packages/cli/src/docker/constants.ts @@ -2,7 +2,7 @@ export const defaultDockerfileName = 'e2b.Dockerfile' export const fallbackDockerfileName = 'Dockerfile' export const basicDockerfile = `# You can use most Debian-based base images -FROM ubuntu:22.04 +FROM e2bdev/code-interpreter:latest # Install dependencies and customize sandbox ` From 36fa2dd95f74e9c39e894b53fa01d4a14f6c465e Mon Sep 17 00:00:00 2001 From: Alessio Fanelli Date: Fri, 13 Jun 2025 11:34:16 -0700 Subject: [PATCH 2/2] Update .stdout to .logs in docs --- apps/web/src/app/(docs)/docs/sandbox-template/page.mdx | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/apps/web/src/app/(docs)/docs/sandbox-template/page.mdx b/apps/web/src/app/(docs)/docs/sandbox-template/page.mdx index e8de75bea7..d1292cf8ce 100644 --- a/apps/web/src/app/(docs)/docs/sandbox-template/page.mdx +++ b/apps/web/src/app/(docs)/docs/sandbox-template/page.mdx @@ -86,7 +86,7 @@ import cowsay cowsay.say('Hello from E2B!') `) -console.log(execution.stdout) +console.log(execution.logs) ``` ```python {{ language: 'python' }} from e2b_code_interpreter import Sandbox @@ -102,7 +102,7 @@ import cowsay cowsay.say('Hello from E2B!') """) -print(execution.stdout) +print(execution.logs) ``` @@ -123,4 +123,4 @@ We call this sandbox snapshot a _sandbox template_. Snapshots are saved running sandboxes. We serialize and save the whole sandbox's filesystem together with all the running processes in a way that can be loaded later. This allows us to load the sandbox in a few hundred milliseconds any time later with all the processes already running and the filesystem exactly as it was. - \ No newline at end of file +