Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions .changeset/deprecate-template-build-cmd.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@e2b/cli": minor
Comment thread
mishushakov marked this conversation as resolved.
---

Fully deprecate `e2b template build` (v1): command now only shows the deprecation notice and exits. Removed all v1 Docker build/push logic and deleted buildWithProxy.ts.
2 changes: 1 addition & 1 deletion packages/cli/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ e2b auth login
> To authenticate without the ability to open the browser, provide
> `E2B_ACCESS_TOKEN` as an environment variable. You can find your token
> in Account Settings under the Team selector at [e2b.dev/dashboard](https://e2b.dev/dashboard). Then use the CLI like this:
> `E2B_ACCESS_TOKEN=sk_e2b_... e2b template build`.
> `E2B_ACCESS_TOKEN=sk_e2b_... e2b template create`.
> [!IMPORTANT]
> Note the distinction between `E2B_ACCESS_TOKEN` and `E2B_API_KEY`.
Expand Down
3 changes: 0 additions & 3 deletions packages/cli/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,6 @@
"check-deps": "knip"
},
"devDependencies": {
"@types/command-exists": "^1.2.3",
"@types/handlebars": "^4.1.0",
"@types/inquirer": "^9.0.7",
"@types/json2md": "^1.5.4",
Expand Down Expand Up @@ -79,7 +78,6 @@
"boxen": "^7.1.1",
"chalk": "^5.3.0",
"cli-highlight": "^2.1.11",
"command-exists": "^1.2.9",
"commander": "^11.1.0",
"console-table-printer": "^2.11.2",
"dockerfile-ast": "^0.6.1",
Expand All @@ -88,7 +86,6 @@
"inquirer": "^12.10.0",
"simple-update-notifier": "^2.0.0",
"statuses": "^2.0.1",
"strip-ansi": "^7.1.0",
"yup": "^1.3.2"
},
"engines": {
Expand Down
2 changes: 1 addition & 1 deletion packages/cli/src/commands/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ import { authCommand } from './auth'
export const program = new commander.Command()
.description(
`Create sandbox templates from Dockerfiles by running ${asPrimary(
'e2b template build'
'e2b template create'
)} then use our SDKs to create sandboxes from these templates.
Visit ${asPrimary(
Expand Down
Loading
Loading