@zenera/sandbox 1.2.6 → 1.2.7
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.
- package/dist/base.js +3 -1
- package/package.json +1 -1
package/dist/base.js
CHANGED
|
@@ -125,7 +125,9 @@ export async function ensureSandboxBases(engine, run, dockerfilePath, opts = {})
|
|
|
125
125
|
if (pulled.code === 0) {
|
|
126
126
|
continue;
|
|
127
127
|
}
|
|
128
|
-
|
|
128
|
+
const why = (pulled.stderr.trim() || `exit ${pulled.code}`).split('\n').at(-1);
|
|
129
|
+
say(` could not pull it (${why.slice(0, 200)})`);
|
|
130
|
+
say(` building it here instead (several minutes, once)`);
|
|
129
131
|
const ctx = mkdtempSync(join(tmpdir(), 'zen-sandbox-base-'));
|
|
130
132
|
try {
|
|
131
133
|
writeFileSync(join(ctx, 'Dockerfile'), sandboxBaseDockerfile());
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@zenera/sandbox",
|
|
3
|
-
"version": "1.2.
|
|
3
|
+
"version": "1.2.7",
|
|
4
4
|
"description": "Where an agent's commands run and the files they see: the Sandbox contract, podman and bubblewrap implementations, filesystem drivers and a contract test suite for other implementations.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"sandbox",
|