E2B icon indicating copy to clipboard operation
E2B copied to clipboard

Convert base template to E2B SDK

Open mishushakov opened this issue 2 months ago • 2 comments

I haven't modified the source for compatibility reasons, so it can still be released as a Docker image


[!NOTE] Switches the base template to JS SDK-driven builds (dev/prod), adds package.json and template config, updates Dockerfile user creation, and removes e2b.toml.

  • Templates/Base:
    • Build: Add build.dev.ts and build.prod.ts using Template.build with defaultBuildLogger() and alias handling.
    • Template Config: Add template.ts exporting alias: 'base' and Template().fromDockerfile('e2b.Dockerfile'); add package.json with build:dev and build:prod scripts.
    • Dockerfile: Change Node user creation to system account (groupadd -r/useradd -r).
    • Cleanup: Remove e2b.toml.

Written by Cursor Bugbot for commit 6f55a51961fe85a231145e7db20f96281fd31add. This will update automatically on new commits. Configure here.

mishushakov avatar Oct 17 '25 12:10 mishushakov

⚠️ No Changeset found

Latest commit: 6f55a51961fe85a231145e7db20f96281fd31add

Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.

This PR includes no changesets

When changesets are added to this PR, you'll see the packages that this PR includes changesets for and the associated semver types

Click here to learn what changesets are, and how to add one.

Click here if you're a maintainer who wants to add a changeset to this PR

changeset-bot[bot] avatar Oct 17 '25 12:10 changeset-bot[bot]