This guide documents the bundled abstack stdlib profiles and templates.
Stdlib is opt-in and linked before validation/lowering:
abstack build samples/stdlib_stack.abs --stdlib-profile default --out-dir generatedList available profiles:
abstack stdlib listcore-v1default(alias tocore-v1)
Use for Go service builds with a build+runtime multi-stage template.
Use for Node.js services with npm install in a runtime stage.
Use for Python services with requirements install in a runtime stage.
Use for static site delivery with nginx runtime image.
Runtime-only postgres template with port exposure.
Runtime-only redis template with port exposure.
service db {
use std_v1_postgres()
port "5432:5432"
}
service api {
use std_v1_go_service("api", 8080)
port "8080:8080"
depends_on db
}
Compile:
abstack build app.abs --stdlib-profile default --out-dir generated- Grammar does not change; stdlib provides additional templates only.
- No profile is linked implicitly.
- Template name collisions are validated like normal user templates.