chore: update examples to use Alpine and improve test script

- Docker example uses Alpine for musl compatibility with 0.1.x releases
- Update test script binary path and E2B provider
- Minor example updates
This commit is contained in:
Nathan Flurry 2026-01-28 04:29:08 -08:00
parent cbd36eeca8
commit 9e9514f2e8
5 changed files with 6 additions and 7 deletions

View file

@ -57,8 +57,8 @@ if (!hasSnapshot) {
image: Image.base("ubuntu:22.04").runCommands(
// Install dependencies
"apt-get update && apt-get install -y curl ca-certificates",
// Install sandbox-agent (0.1.0-rc.1 has install-agent command)
"curl -fsSL https://releases.rivet.dev/sandbox-agent/0.1.0-rc.1/install.sh | sh",
// Install sandbox-agent
"curl -fsSL https://releases.rivet.dev/sandbox-agent/latest/install.sh | sh",
// Install agents
"sandbox-agent install-agent claude",
"sandbox-agent install-agent codex",

View file

@ -30,7 +30,7 @@ const container = await docker.createContainer({
Cmd: ["sh", "-c", [
// Install dependencies (Alpine uses apk, not apt-get)
"apk add --no-cache curl ca-certificates libstdc++ libgcc bash",
"curl -fsSL https://releases.rivet.dev/sandbox-agent/0.1.0-rc.1/install.sh | sh",
"curl -fsSL https://releases.rivet.dev/sandbox-agent/latest/install.sh | sh",
"sandbox-agent install-agent claude",
"sandbox-agent install-agent codex",
`sandbox-agent server --no-token --host 0.0.0.0 --port ${PORT}`,

View file

@ -17,7 +17,7 @@ const run = async (cmd: string) => {
};
console.log("Installing sandbox-agent...");
await run("curl -fsSL https://releases.rivet.dev/sandbox-agent/0.1.0-rc.1/install.sh | sh");
await run("curl -fsSL https://releases.rivet.dev/sandbox-agent/latest/install.sh | sh");
console.log("Installing agents...");
await run("sandbox-agent install-agent claude");