Open-source, secure environment with real-world tools for enterprise-grade agents.
Python agentaiai-agentai-agentscode-interpretercopilotdevelopmentdevtoolsgptgpt-4javascriptllmnextjsopenaipythonreactsoftwaretypescript
build-arg's not working for e2b template build command (#644)
David Bateye8fab568dace
diff --git a/.changeset/hungry-pans-change.md b/.changeset/hungry-pans-change.mdnew file mode 100644index 000000000..44a51203a--- /dev/null+++ b/.changeset/hungry-pans-change.md@@ -0,0 +1,5 @@+---+'@e2b/cli': patch+---++build-arg's not working for e2b template build commanddiff --git a/packages/cli/src/commands/template/build.ts b/packages/cli/src/commands/template/build.tsindex 26d4c6092..b281ba4f3 100644--- a/packages/cli/src/commands/template/build.ts+++ b/packages/cli/src/commands/template/build.ts@@ -356,7 +356,7 @@ export const buildCommand = new commander.Command('build')-t docker.${connectionConfig.domain}/e2b/custom-envs/${templateID}:${template.buildID} ${Object.entries(dockerBuildArgs)- .map(([key, value]) => `--build-arg="${key}=${value}"`)+ .map(([key, value]) => `--build-arg "${key}=${value}"`).join(' \\ \n ')}`console.log(`Building docker image with the following command:\n${asBold(cmd)}\n`)