pack
$ pack Foundation Med Riskpack is the official Cloud Native Buildpacks (CNB) CLI for building OCI container images directly from source code without a Dockerfile. It includes --no-color for clean CI/agent logs and -o json on builder inspect and inspect commands.
brew install buildpacks/tap/pack pack orchestrates local Docker/Buildpack lifecycle containers directly against source trees and image builders.
Agent-Readiness Checklist
Static evaluation (not yet probed on this host). Run npm run data:probe locally to capture live verification.
FCRS-1.0 6-Dimension Breakdown
Supports global --no-color and -o json on inspect / builder inspect, plus non-interactive builds when --builder is provided.
pack inspect -o jsonandpack builder inspect -o jsonemit JSON- Global
--no-colorflag cleans CI and agent output
Builds stay local in the Docker daemon unless --publish is explicitly passed, though buildpacks execute project build scripts.
- Requires
--publishto push to remote registries - Executes language buildpacks inside lifecycle containers
Cross-platform Go binary (macOS, Linux, Windows), requiring a running Docker-compatible daemon.
- Distributed via
brew install buildpacks/tap/packand GitHub Releases
Eliminates hand-written Dockerfiles and provides reproducible layered OS/runtime rebasing (pack rebase).
- Auto-detects runtimes and attaches Buildpack SBOMs
CNCF Incubating project (buildpacks/pack) under Apache-2.0.
- CNCF
buildpacks/packrepository
Official CI integration docs and structured Cobra --help.
- Docs at buildpacks.io/docs/
Security, Auth & Guardrails
Reuses Docker daemon socket (DOCKER_HOST) and registry auth in ~/.docker/config.json; CLI defaults live in ~/.pack/config.toml.
Open-source CNCF Incubating project (Apache-2.0) and free to run.
# pack Agent Rules - Always pass `--no-color` and an explicit `--builder <image>` on `pack build` so it never prompts interactively. - Omit `--publish` unless pushing to a remote registry is explicitly requested. - Use `pack inspect <image> -o json` to verify SBOM and process types.
Agent-Ready Command Recipes
Safe Read-Only Queries
pack --no-color inspect app:dev -o json
Outputs detected buildpacks, SBOM metadata, processes, and run-image info in JSON.
pack --no-color builder suggest
Displays vetted community and vendor builders (e.g. Paketo, Heroku, Google) non-interactively.
Controlled Writes & Previews
pack --no-color build app:dev --builder paketobuildpacks/builder-jammy-base
Auto-detects language runtime and builds a local OCI image into the Docker daemon without --publish.
Strengths for Agents
- + Builds OCI images from source without maintaining Dockerfiles.
- +
--no-colorand-o jsononinspect/builder inspectintegrate cleanly into automation. - + Local-by-default unless
--publishis passed.
Caveats & Pitfalls
- ! First-time
pack buildpulls large builder images unless cached locally. - ! Requires a running Docker daemon (
DOCKER_HOST) to execute buildpack lifecycle phases.