Earthly
$ earthly Official Med RiskRuns reproducible, containerized build and test pipelines defined in Earthfile using BuildKit. Supports --ci to disable interactive prompts and force clean non-TTY output, though it requires a running Docker/BuildKit daemon and lacks structured JSON reporting.
brew install earthly Drives local BuildKit container builds directly from Earthfile definitions.
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 earthly ls, --ci, and NO_COLOR=1, though build output is streaming text without --json.
earthly lsenumerates targets without running them--cidisables interactive prompts and fancy TTY rendering
Requires explicit --push opt-in before executing SAVE IMAGE --push or RUN --push side effects.
- Push instructions are skipped by default unless
--pushis passed
Single Go binary, but requires a working Docker/BuildKit daemon which is unavailable in some sandboxes.
- Hard dependency on Docker / BuildKit container daemon
Lets developers and agents reproduce exact CI container pipelines locally.
- Combines Dockerfile isolation with Makefile-style targets
Maintained by Earthly Technologies under MPL-2.0, though project focus has shifted around Lunar/cloud offerings.
- Official
earthly/earthlyrepository under MPL-2.0
Clear Earthfile syntax and CLI reference at docs.earthly.dev.
- Documented CLI flags at docs.earthly.dev
Security, Auth & Guardrails
Local builds use Docker credentials; optional Earthly Cloud / Satellites auth uses EARTHLY_TOKEN or ~/.earthly/config.yml.
MPL-2.0 open-source CLI is free; optional Earthly Satellites remote runners are usage-billed.
# Earthly (earthly) Agent Rules - Always pass `--ci` and set `NO_COLOR=1` in agent shells. - Avoid passing `--push` unless explicitly authorized to push container images or run `+deploy` targets.
Agent-Ready Command Recipes
Safe Read-Only Queries
earthly ls
Lists available build targets in the current Earthfile without executing any build steps.
Controlled Writes & Previews
earthly --ci +test
Runs the +test target with --ci non-interactive logging and without pushing remote artifacts.
Strengths for Agents
- +
--pushgating keeps remote side effects disabled during normal local test/build runs. - +
earthly --ciforces clean non-interactive output. - +
earthly lsdiscovers targets quickly before running builds.
Caveats & Pitfalls
- ! Requires a running Docker/BuildKit daemon, failing in containerless sandboxes.
- ! Lacks structured
--jsonbuild summary output.