Convert base template to E2B SDK
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.tsandbuild.prod.tsusingTemplate.buildwithdefaultBuildLogger()and alias handling.- Template Config: Add
template.tsexportingalias: 'base'andTemplate().fromDockerfile('e2b.Dockerfile'); addpackage.jsonwithbuild:devandbuild:prodscripts.- 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.
⚠️ 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