Skip to content

armgit / E2B

Public Imported from GitHub
0

Open-source, secure environment with real-world tools for enterprise-grade agents.

Fix environment variables in template build

Jakub Novak1a3d6b6c3e96
diff --git a/.changeset/silent-monkeys-kick.md b/.changeset/silent-monkeys-kick.md
new file mode 100644
index 000000000..8a37fa8e6
--- /dev/null
+++ b/.changeset/silent-monkeys-kick.md
@@ -0,0 +1,5 @@
+---
+"@e2b/cli": patch
+---
+
+Fix environment in template build
diff --git a/packages/cli/src/commands/template/build.ts b/packages/cli/src/commands/template/build.ts
index a09a9abe1..b89abd9b4 100644
--- a/packages/cli/src/commands/template/build.ts
+++ b/packages/cli/src/commands/template/build.ts
@@ -270,6 +270,7 @@ export const buildCommand = new commander.Command('build')
stdio: 'inherit',
cwd: root,
env: {
+ ...process.env,
DOCKER_CLI_HINTS: 'false',
},
},