Sign inSign up

k33g/sbx-bob

By k33g

•Updated 5 months ago

https://codeberg.org/ai-apocalypse-survival-kit/we-are-legion/src/branch/main/sandboxes/sbx-bob

Image
Languages & frameworks
Machine learning & AI
Developer tools
0

487

k33g/sbx-bob repository overview

⁠sbx-bob

⁠What is this sandbox?

sbx-bob is a development sandbox running inside a Docker container, built on top of the docker/sandbox-templates:shell base image. It provides a fully self-contained coding environment accessible from a browser.

⁠What it includes
ToolVersionPurpose
Go1.26.2Primary language runtime + toolchain (gopls, revive, etc.)
Node.js25.xJavaScript runtime
code-serverlatestVS Code running in the browser (port 8080)
docker-agent1.46.0AI coding agent embedded in the sandbox
Oh My BashlatestEnhanced shell experience
⁠VS Code extensions pre-installed
  • PKief.material-icon-theme — file icons
  • PKief.material-product-icons — UI icons
  • golang.Go — Go language support
⁠How it works

When the sandbox starts, code-server auto-launches via a login shell profile script (/etc/profile.d/start-code-server.sh), making the Web IDE immediately available. No authentication is required (configured in config.yaml).

The docker-agent binary is embedded at build time from the official docker/docker-agent image, allowing AI-assisted coding directly inside the sandbox.

This is a sbx sandbox created with a custom template (👀: Dockerfile)

⁠Build

To build the sandbox, run the build.sh script:

./build.sh

⁠Run

current_dir=$(basename "$PWD")
sbx policy allow network localhost:12434
sbx create --template docker.io/k33g/sbx-bob:go-node-0.0.0 shell .
sbx ports shell-${current_dir} --publish 9090:8080/tcp

tmux new -d -s demo-bob "sbx run shell-${current_dir}"

go to http://localhost:9090⁠ to access the Web IDE.

docker-agent run config.yaml

Tag summary

Content type

Image

Digest

sha256:d6088dc83…

Size

1.1 GB

Last updated

5 months ago

docker pull k33g/sbx-bob:go-node-0.0.1