Cube builds and opens isolated development workspaces with Podman or Docker.
go install github.com/scirats/cube/cmd/cube@latest
cube init workspace.exo
cube start workspace.exostart accepts a configuration file and runs the container engine without a
shell. Repository URLs must use HTTPS and must not contain embedded credentials.
Credentials are intentionally not read from or written to the workspace
configuration; use the engine's credential helper or SSH agent instead.
deps ["npm", "nodejs"]
workspace "https://github.com/scirats/scirats.git"
dots {
repo "https://github.com/heaveless/dotfiles.git"
ext {
git {
config {
user {
email "user@scirats.com"
name "example name"
}
}
}
}
}
Dependencies are validated as Alpine package names. The generated image is
pinned to Alpine 3.22 and installs packages with apk --no-cache.