You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
My e2b.Dockerfile - I changed the image to python-3.12.8 because of the issue above:
# You can use most Debian-based base images
FROM e2bdev/code-interpreter:python-3.12.8
# Install dependencies and customize sandbox
RUN pip install \
httpx \
aiofiles
I run the e2b template build -c "/root/.jupyter/start-up.sh"
e2b template build -c "/root/.jupyter/start-up.sh"
Found sandbox template chtrppd6xzrgfp3r2wg2 <-> ./e2b.toml
Found ./e2b.Dockerfile that will be used to build the sandbox template.
Requested build for the sandbox template chtrppd6xzrgfp3r2wg2
Login Succeeded
Building docker image...
[+] Building 11.1s (7/7) FINISHED docker:desktop-linux
=> [internal] load build definition from e2b.Dockerfile 0.0s
=> => transferring dockerfile: 218B 0.0s
=> [internal] load metadata for docker.io/e2bdev/code-interpreter:python-3.12.8 1.6s
=> [auth] e2bdev/code-interpreter:pull token for registry-1.docker.io 0.0s
=> [internal] load .dockerignore 0.0s
=> => transferring context: 2B 0.0s
=> [1/2] FROM docker.io/e2bdev/code-interpreter:python-3.12.8@sha256:9d5f81fff62a6ada2fcb1b7fcf14d08f6f2fcfd4706476057af7c4905eba614f 0.1s
=> => resolve docker.io/e2bdev/code-interpreter:python-3.12.8@sha256:9d5f81fff62a6ada2fcb1b7fcf14d08f6f2fcfd4706476057af7c4905eba614f 0.0s
=> [2/2] RUN pip install httpx aiofiles 9.2s
=> exporting to image 0.0s
=> => exporting layers 0.0s
=> => writing image sha256:3d6d6470615d2bb2d6d6b5c14cd9e789467e9de0ed884493e14b973c2f283f49 0.0s
=> => naming to docker.e2b.dev/e2b/custom-envs/chtrppd6xzrgfp3r2wg2:cb855843-57f0-4600-9e96-9876d26120f6 0.0s
Docker image built.
Pushing docker image...
The push refers to repository [docker.e2b.dev/e2b/custom-envs/chtrppd6xzrgfp3r2wg2]
f17dd116e012: Preparing
4ccea937d87d: Preparing
8a63e6d2b710: Preparing
fbf70ea07e62: Preparing
0320beed24be: Preparing
7fddddc40788: Preparing
b75e8a48caef: Preparing
1aa3684f0bf5: Preparing
a0a5e6a7f00b: Preparing
a5259a2fa4e2: Preparing
12b23534df46: Preparing
2d620909f61c: Preparing
0b215a3052d8: Preparing
44aadcae7a96: Preparing
20d5d07fc60d: Preparing
fbf70ea07e62: Pushed
f3fb8da6ee13: Layer already exists
eeae73f02cf9: Layer already exists
fbd46ac815f5: Layer already exists
a79271168589: Layer already exists
6c355d9100cb: Layer already exists
f0f9b2566a4a: Layer already exists
7a70470e4cc6: Layer already exists
193bdf42bbff: Layer already exists
019df936d4ed: Layer already exists
256b0840b839: Layer already exists
e42cf47ac808: Layer already exists
0d9829a141f0: Layer already exists
a7ce0f17d062: Layer already exists
6adcd6fc1cb0: Layer already exists
767947af897d: Layer already exists
128e37fe0166: Layer already exists
66f6b8758ac9: Layer already exists
e5ce71c0d420: Layer already exists
6d58389117c3: Layer already exists
85c6f0cfb532: Layer already exists
a4fd1e7df47e: Layer already exists
2f7b6d216a37: Layer already exists
cb855843-57f0-4600-9e96-9876d26120f6: digest: sha256:4359685fd8b8fa7f33bde59d25d9091edc86da640dc706a2be5e546c7f5a0e87 size: 8299
Docker image pushed.
Triggering build...
Triggered build for the sandbox template chtrppd6xzrgfp3r2wg2
Waiting for build to finish...
E: Sub-process /usr/bin/dpkg returned an error code (2)
Postprocessing finished.
Error building environment: error creating rootfs for env 'chtrppd6xzrgfp3r2wg2' during build 'cb855843-57f0-4600-9e96-9876d26120f6': error creating rootfs file: container exited with status 100: Build failed: error when building env: rpc error: code = Unknown desc = error creating rootfs for env 'chtrppd6xzrgfp3r2wg2' during build 'cb855843-57f0-4600-9e96-9876d26120f6': error creating rootfs file: container exited with status 100:
Error:
❌ Building sandbox template chtrppd6xzrgfp3r2wg2 failed.
Check the logs above for more details or contact us (https://e2b.dev/docs/getting-help) to get help.
at NY (/usr/local/lib/node_modules/@e2b/cli/src/commands/template/build.ts:497:15)
at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
at e.<anonymous> (/usr/local/lib/node_modules/@e2b/cli/src/commands/template/build.ts:401:9)
The text was updated successfully, but these errors were encountered:
Hey @fazpu could you tell me how exactly you solved this issue? I ran into the same issue (python 3.12 image and M series chips) but from your linked comment seems I haven't found the solution. Thanks
Hi!
I followed the steps from https://e2b.dev/docs/quickstart/install-custom-packages.
I first hit the #58.
My e2b.Dockerfile - I changed the image to python-3.12.8 because of the issue above:
I run the
e2b template build -c "/root/.jupyter/start-up.sh"
The text was updated successfully, but these errors were encountered: