-
Notifications
You must be signed in to change notification settings - Fork 157
Desktop Template E2B SDK #128
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
|
PR is currently borked due to an issue in RUN command appending root to package commands and COPY not taking into account the user |
| ) | ||
|
|
||
| # Template with user and workdir set | ||
| template_with_user_workdir = template.set_user("user").set_workdir("/home/user") |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
we need this because earlier we set the user to root and workdir to /
this will set the final user and workdir to the Sandbox
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
we can probably remove this and just append user=root on every command and copy (broken now)

Note
Replaces the Dockerfile workflow with a Python/Poetry-based E2B Template, updates CI to build/push via buildx and build the E2B template, and adds necessary project/config files.
template/Dockerfile,template/e2b.Dockerfile, andtemplate/e2b.tomlwith programmatic E2B Template intemplate/template.pyplus build scripts (build_dev.py,build_prod.py,build_docker.py).template/pyproject.toml,template/poetry.lock,template/.python-version) and README instructions.template/files/(Firefox policies/config, Chrome desktop entry, VS Code settings, XFCE config)..github/workflows/template.yml):build_docker.pyand pipe todocker buildx buildto pushdesktop:latest.build_prod.pyusingE2B_API_KEY..ruff_cache/in.gitignore.Written by Cursor Bugbot for commit eded58d. This will update automatically on new commits. Configure here.