feat: add e2b template#394
Merged
Merged
Conversation
Contributor
Author
|
cc @Marvin-Cypher for review. |
ec3da93 to
bc16b45
Compare
Marvin-Cypher
approved these changes
May 29, 2026
Contributor
Marvin-Cypher
left a comment
There was a problem hiding this comment.
Reviewed template files, normalized tags, compose config, config validation, stale path cleanup, and compose safety scan. Checks are passing.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
e2bprebuilt template with a CPU-safe Python SDK verifiere2b==2.25.0ande2b-code-interpreter==2.7.0packages without creating sandboxes or requiring credentialstemplates/config.jsonentry routed to the Phala prebuilt template pathValidation
python3 templates/validate.pydocker compose -f templates/prebuilt/e2b/docker-compose.yml config >/tmp/e2b-compose-config.outgit diff --check origin/main...HEADenv_file, no host bind mounts, no Docker socket, no privileged mode, no GPU/device request, no secret defaults, noSandbox.create(...)/run_code(...)verifier callsPhala Cloud Smoke
phala deploy --profile hermes-admin-cvm-check --name auto-template-test-e2b-0529-1133 --compose templates/prebuilt/e2b/docker-compose.yml --instance-type tdx.small --node-id 12 --wait --no-public-logs --no-public-sysinfo --jsoncvm_zjdzb6Kvc8c581ff-5aa9-4b33-80d2-4a88fd780d79e38367091b2fe395822be88098b2881550f44d07prod7/ node id12phala psreacheddstack-app-1running and healthyGET /healthz-> HTTP 200,service=e2b-sdk-verifier,ok=trueGET /demo-> HTTP 200,sandbox_created=false,run_code_called=false, localResultformatstext,jsonGET /v1/models-> HTTP 200, model ide2b-local-sdk-verifierphala cvms delete cvm_zjdzb6Kv --force --json; follow-up get returnedThe requested CVM was not foundcc @Marvin-Cypher for review.