PROVIDER - Containerised reproducible builds

Earthly

Earthly is a containerised reproducible build tool describing steps in 1 Earthfile and running them in containers so local and CI match, with layer caching typically saving 50% or more and 5 or more pipeline integrations; the gaps are learning cost and ecosystem size.

Developer Tools United States 2026.11.19
4pts

Detailed Notes

Pros 5 items

Describes build steps in 1 Earthfile while containers run them so local and CI results match
Supports 3 execution modes: local Docker, remote satellites and managed CI
Reuses build layers through caching, typically saving 50% or more on repeat builds
Integrates with 5 or more pipeline platforms such as GitHub Actions and GitLab CI
Released under MPL-2.0 with a CLI that installs in 1 command

Cons 4 items

Learning cost is higher than Makefiles or plain scripts
Remote caching and satellites need extra setup and budget
Community and ecosystem remain smaller than Bazel or Nx
Build graphs get complex in very large monorepos

Service Overview

Earthly is a Go-based build tool that writes build steps into an Earthfile and runs them inside containers, sharing one build definition between laptops and CI.

In the development tools category it is the next-generation build tool: lighter than Bazel, heavier than Make, focused on reproducibility and cache sharing.

Key Strengths

  • Reproducible: builds run in containers
  • Cache reuse: layers shared across machines
  • Single definition: 1 Earthfile for local and CI
  • Broad integrations: 5 or more pipeline platforms
  • Free and open: MPL-2.0 licence

Product Ecosystem

Platform capabilities

Earthfile syntax, containerised execution, target dependency graphs, local and remote caching, satellite execution and Makefile interoperability.

Integrations

Works with GitHub Actions, GitLab CI, CircleCI, Jenkins and Buildkite, and fits Docker and Kubernetes build chains.

Typical scenarios

Multi-language monorepo builds, local and CI consistency, image building and pushing and complex dependency orchestration.

Limitations

  • Learning curve: new syntax and model
  • Extra setup: remote caching needs infrastructure
  • Ecosystem size: smaller community than Bazel
  • Complexity: dependency graphs grow in huge repos

Use Cases

  • High local-to-CI parity needs (★★★★★): the core value
  • Multi-language monorepos (★★★★☆): one build entry point
  • Minimal script builds (★★☆☆☆): may be too heavy
  • Existing Bazel setups (★★☆☆☆): limited gain

Pricing

Item Price Notes
Earthly CLI $0 MPL-2.0, free and open source
Satellites Usage based Remote cache and parallel execution
Managed CI Subscription Integrated with code hosting

FAQ

Does it need Docker?

Local runs need a container runtime, with Docker or Podman recommended.

Can it replace Make?

It covers builds and images while still able to call Make as a step.

How is caching shared?

Remote caching or satellites reuse layers across machines.

Does it support Windows?

Mainly through WSL or container environments.

Code Examples

# Earthfile
VERSION 0.8
FROM golang:1.22-alpine
WORKDIR /src

deps:
    COPY go.mod go.sum ./
    RUN go mod download
    SAVE ARTIFACT go.mod AS LOCAL go.mod

build:
    FROM +deps
    COPY . .
    RUN go build -o /out/app ./cmd/app
    SAVE ARTIFACT /out/app AS LOCAL build/app

docker:
    FROM alpine:3.20
    COPY +build/app /usr/local/bin/app
    ENTRYPOINT ["/usr/local/bin/app"]
    SAVE IMAGE demo/app:latest
# Run targets and push the image
earthly +build
earthly +docker --push

# Use remote caching
earthly --remote-cache=registry.example.com/cache +build

Community & Resources

Visit Earthly Website → https://earthly.dev/
Visit Website ↗