Directory Compare FCRS-1.0 /llms.txt
← Back to Directory

pack

$ pack Foundation Med Risk
Cloud Native Buildpacks / CNCF · Cloud & Infra · Apache-2.0 · macos / linux / windows

pack 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.

FCRS-1.0 Score
83 /100
Good
Medium Confidence
Zero-Friction Install
brew install buildpacks/tap/pack
CLI vs MCP Decision CLI Only

pack orchestrates local Docker/Buildpack lifecycle containers directly against source trees and image builders.

Agent-Readiness Checklist

✓ JSON Output
— Field Filtering
✓ Non-Interactive
— Dry-Run
— Read-Only Mode
✓ NO_COLOR Clean
✓ Self-Describing
— Official SKILL.md

Static evaluation (not yet probed on this host). Run npm run data:probe locally to capture live verification.

FCRS-1.0 6-Dimension Breakdown

Agent-Readiness 21 / 25

Supports global --no-color and -o json on inspect / builder inspect, plus non-interactive builds when --builder is provided.

  • pack inspect -o json and pack builder inspect -o json emit JSON
  • Global --no-color flag cleans CI and agent output
Trust & Safety 20 / 25

Builds stay local in the Docker daemon unless --publish is explicitly passed, though buildpacks execute project build scripts.

  • Requires --publish to push to remote registries
  • Executes language buildpacks inside lifecycle containers
Setup & Portability 13 / 15

Cross-platform Go binary (macOS, Linux, Windows), requiring a running Docker-compatible daemon.

  • Distributed via brew install buildpacks/tap/pack and GitHub Releases
Utility & Efficiency 12 / 15

Eliminates hand-written Dockerfiles and provides reproducible layered OS/runtime rebasing (pack rebase).

  • Auto-detects runtimes and attaches Buildpack SBOMs
Maintenance & Lineage 9 / 10

CNCF Incubating project (buildpacks/pack) under Apache-2.0.

  • CNCF buildpacks/pack repository
Docs & Verifiability 8 / 10

Official CI integration docs and structured Cobra --help.

  • Docs at buildpacks.io/docs/

Security, Auth & Guardrails

Auth Modes
No Auth Config File
Credential Storage

Reuses Docker daemon socket (DOCKER_HOST) and registry auth in ~/.docker/config.json; CLI defaults live in ~/.pack/config.toml.

Side Effects
Read-Only Local Write Remote Write
Cost & Quotas

Open-source CNCF Incubating project (Apache-2.0) and free to run.

Copyable Guardrail for CLAUDE.md / AGENTS.md
# 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

Inspect an image built with Buildpacks in JSON
pack --no-color inspect app:dev -o json

Outputs detected buildpacks, SBOM metadata, processes, and run-image info in JSON.

List suggested official builders
pack --no-color builder suggest

Displays vetted community and vendor builders (e.g. Paketo, Heroku, Google) non-interactively.

Controlled Writes & Previews

Build an OCI image locally from source without a Dockerfile
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-color and -o json on inspect / builder inspect integrate cleanly into automation.
  • + Local-by-default unless --publish is passed.

Caveats & Pitfalls

  • ! First-time pack build pulls large builder images unless cached locally.
  • ! Requires a running Docker daemon (DOCKER_HOST) to execute buildpack lifecycle phases.

Tested Agent Hosts

Claude Code Codex CLI Gemini CLI