@e2b/cli 2.2.9 → 2.3.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -28,13 +28,9 @@ template = (
|
|
|
28
28
|
{{/each}}
|
|
29
29
|
{{#if startCmd}}
|
|
30
30
|
{{#if readyCmd}}
|
|
31
|
-
.
|
|
32
|
-
.set_workdir("/home/user")
|
|
33
|
-
.set_start_cmd("{{{escapeDoubleQuotes startCmd}}}", "{{{escapeDoubleQuotes readyCmd}}}")
|
|
31
|
+
.set_start_cmd("sudo {{{escapeDoubleQuotes startCmd}}}", "{{{escapeDoubleQuotes readyCmd}}}")
|
|
34
32
|
{{/if}}
|
|
35
33
|
{{else if readyCmd}}
|
|
36
|
-
.
|
|
37
|
-
.set_workdir("/home/user")
|
|
38
|
-
.set_ready_cmd("{{{escapeDoubleQuotes readyCmd}}}")
|
|
34
|
+
.set_ready_cmd("sudo {{{escapeDoubleQuotes readyCmd}}}")
|
|
39
35
|
{{/if}}
|
|
40
36
|
)
|
|
@@ -27,12 +27,8 @@ export const template = Template()
|
|
|
27
27
|
{{/each}}
|
|
28
28
|
{{#if startCmd}}
|
|
29
29
|
{{#if readyCmd}}
|
|
30
|
-
.
|
|
31
|
-
.setWorkdir('/home/user')
|
|
32
|
-
.setStartCmd('{{{escapeQuotes startCmd}}}', '{{{escapeQuotes readyCmd}}}')
|
|
30
|
+
.setStartCmd('sudo {{{escapeQuotes startCmd}}}', '{{{escapeQuotes readyCmd}}}')
|
|
33
31
|
{{/if}}
|
|
34
32
|
{{else if readyCmd}}
|
|
35
|
-
.
|
|
36
|
-
.setWorkdir('/home/user')
|
|
37
|
-
.setReadyCmd('{{{escapeQuotes readyCmd}}}')
|
|
33
|
+
.setReadyCmd('sudo {{{escapeQuotes readyCmd}}}')
|
|
38
34
|
{{/if}}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@e2b/cli",
|
|
3
|
-
"version": "2.
|
|
3
|
+
"version": "2.3.0",
|
|
4
4
|
"description": "CLI for managing e2b sandbox templates",
|
|
5
5
|
"homepage": "https://e2b.dev",
|
|
6
6
|
"license": "MIT",
|
|
@@ -72,7 +72,7 @@
|
|
|
72
72
|
"commander": "^11.1.0",
|
|
73
73
|
"console-table-printer": "^2.11.2",
|
|
74
74
|
"dockerfile-ast": "^0.6.1",
|
|
75
|
-
"e2b": "^2.
|
|
75
|
+
"e2b": "^2.3.0",
|
|
76
76
|
"handlebars": "^4.7.8",
|
|
77
77
|
"inquirer": "^9.2.12",
|
|
78
78
|
"open": "^9.1.0",
|