earthly is a free, open source orchestration & scheduling project written in Go and released under MPL-2.0. It has 12,047 GitHub stars, 457 forks and 744 open issues, and was last pushed 11 months ago. On this registry it ranks #16 of 64 tracked projects in Orchestration & Scheduling, with 5 head-to-head comparisons available.

What is earthly?

Earthly is a container-based build and CI/CD framework that runs every pipeline inside containers so the same build executes identically on a laptop, a colleague's machine, or any CI system, and it is built for engineers and platform teams who maintain build logic across monorepos or polyrepos and are comfortable with Dockerfile- and Makefile-style syntax.

What it is

Earthly is a build framework written in Go and released under the MPL-2.0 licence, distributed through the earthly.dev website, a Docker Hub earthly organisation, and GitHub Codespaces. It lives in the CI/CD and container-build corner of the toolchain: rather than replacing your compilers or package managers, it wraps them and executes the whole pipeline inside containers. Its build definition language is the Earthfile, a deliberate blend of Dockerfile and Makefile conventions, so most engineers can read an Earthfile without prior exposure to Earthly.

The concrete problem it solves is build drift. Historically a team writes a Dockerfile for the image, a separate set of CI steps for the pipeline, and language-specific setup for each developer machine; when the pipeline breaks, the feedback loop degrades into repeated git commit -m "try again" cycles. Earthly replaces that scattered arrangement with one self-contained, isolated definition that runs the same way everywhere, so nobody has to configure language-specific tooling, install extra dependencies, or complicate scripts for different operating systems just to keep the build portable.

Key capabilities

  • Earthfile syntax combines Dockerfile and Makefile ideas, so an engineer can read a build definition without prior Earthly knowledge.
  • Every build step runs inside a container, making builds self-contained, isolated, repeatable, and portable across a laptop and any CI.
  • Works as a wrapper around existing tooling instead of replacing it: package.json, go.mod, build.gradle, and Cargo.toml stay exactly as they are. If it runs on Linux, it runs on Earthly.
  • Build caching and parallel execution are applied automatically, so builds speed up without hand-tuned optimisations.
  • Build logic can be split across multiple Earthfiles placed deeper inside the directory structure, which suits both monorepos and polyrepos.
  • Shared build logic is reused across builds rather than copied, so the same code is not written into multiple builds.
  • Ships alongside Docker Hub earthly images and a GitHub Codespaces configuration for cloud development environments.

Who uses it and how

  • Monorepo teams that want build logic distributed across multiple Earthfiles at different depths of the tree rather than concentrated in one root script.
  • Polyrepo teams that need identical build behaviour across many independent repositories and their respective pipelines.
  • Teams spanning mixed operating systems, where a build written once must execute correctly on a developer's laptop, a colleague's laptop, and any CI runner.
  • CI/CD owners replacing hand-maintained Dockerfiles and per-language pipeline setup with a single container-executed pipeline definition.
  • Projects already using Docker, Go, Java, Node.js, Rust, or any other Linux-compatible toolchain, since Earthly augments those tools rather than requiring a rewrite.

Getting started

Install through the official link at earthly.dev/get-earthly, or pull from the Docker Hub earthly organisation, or start in a browser with the repository's GitHub Codespaces badge; the README's Installation and Quick Start sections cover first use.

How it compares

No list of paid products this project replaces is provided in the facts, and no equivalent tool is named alongside it, so Earthly stands alone in this registry on that axis. The only points of reference given are Dockerfile and Makefile, which Earthly borrows from rather than competes with, and it deliberately leaves existing build files untouched instead of replacing them.

When to use it — and when not

The most important trade-off is stated plainly in the README itself: Earthly is no longer actively maintained, and the banner links to a post about shutting down Earthfiles Cloud. Anyone adopting it must therefore operate the container toolchain locally and in CI without vendor backing, and should weigh the 744 open issues and the fact that the most recent push predates active development. Teams that need guaranteed security patches, commercial support, or a hosted build service should not pick Earthly for new work; it remains reasonable for existing users or for experiments where the Earthfile syntax and container-isolated builds are the draw.

project readme (upstream, from github) — read inline

Earthly

Please note that Earthly is no longer actively maintained. Read more.


It’s like Docker for builds


GitHub Actions CI Join the chat on Slack Docs Website Install Earthly Docker Hub License MPL-2

Open in GitHub Codespaces

🔁 Repeatable Builds - Write builds once, and run them anywhere – on your laptop, remote, and in any CI.

❤️ Super Simple - Instantly recognizable syntax – like Dockerfile and Makefile had a baby.

🛠 Compatible with Every Language, Framework, and Build Tool - If it runs on Linux, it runs on Earthly.

🏘 Great for Monorepos and Polyrepos - Organize your build logic however makes the most sense for your project.

💨 Fast Builds - Build caching and parallel execution makes builds fast automatically.

♻️ Reuse, Don't Repeat - Never write the same code in multiple builds again.


🌎 Earthly is a versatile, approachable CI/CD framework that runs every pipeline inside containers, giving you repeatable builds that you write once and run anywhere. It has a super simple, instantly recognizable syntax that is easy to write and understand – like Dockerfile and Makefile had a baby. And it leverages and augments popular build tools instead of replacing them, so you don’t have to rewrite all your builds no matter what languages you use.



Table of Contents

Why Use Earthly?

🔁 Repeatable Builds

Earthly runs all builds in containers, making them self-contained, isolated, repeatable, and portable. This allows for faster iteration on build scripts and easier debugging when something goes wrong – no more git commit -m "try again". When you write a build, you know it will execute correctly no matter where it runs – your laptop, a colleague’s laptop, or any CI. You don’t have to configure language-specific tooling, install additional dependencies, or complicate your build scripts to ensure they are compatible with different OSs. Earthly gives you consistent, repeatable builds regardless of where they run.

❤️ Super Simple

Earthly’s syntax is easy to write and understand. Most engineers can read an Earthfile instantly, without prior knowledge of Earthly. We combined some of the best ideas from Dockerfiles and Makefiles into one specification – like Dockerfile and Makefile had a baby.

🛠 Compatible with Every Language, Framework, and Build Tool

Earthly works with the compilers and build tools you use. If it runs on Linux, it runs on Earthly. And you don’t have to rewrite your existing builds or replace your package.json, go.mod, build.gradle, or Cargo.toml files. You can use Earthly as a wrapper around your existing tooling and still get Earthly’s repeatable builds, parallel execution, and build caching.

🏘 Great for Monorepos and Polyrepos

Earthly is great for both monorepos and polyrepos. You can split your build logic across multiple Earthfiles, placing some deeper inside the directory structure or even in other repositories. Referencing targets from other Earthfiles is easy regardless of where they are stored. So you can organize your build logic however makes the most sense for your project.

💨 Fast Builds

Earthly automatically executes build targets in parallel and makes maximum use of cache. This makes builds fast. Earthly also has powerful shared caching capabilities that speed up builds frequently run across a team or in sandboxed environments, such as Earthly Satellites, GitHub Actions, or your CI.

If your build has multiple steps, Earthly will:

  1. Build a directed acyclic graph (DAG).
  2. Isolate execution of each step.
  3. Run independent steps in parallel.
  4. Cache results for future use.

♻️ Reuse, Don't Repeat

Never have to write the same code in multiple builds again. With Earthly, you can reuse targets, artifacts, and images across multiple Earthfiles, even ones in other repositories, in a single line. Earthly is cache-aware, based on the individual hashes of each file, and has shared caching capabilities. So you can create a vast and efficient build hierarchy that only executes the minimum required steps.

Where Does Earthly Fit?

Earthly is meant to be used both on your development machine and in CI. It runs on top of your CI/CD platform (such as Jenkins, Circle CI, GitHub Actions, and GitLab CI/CD). Earthly provides the benefits of a modern build automation system wherever it runs – such as caching and parallelism. It is a glue layer between language-specific build tooling (like maven, gradle, npm, pip, go build) and CI, working like a wrapper around your build tooling and build logic that isolates build execution from the environments they run in.

How Does It Work?

In short: containers, layer caching, and complex build graphs!

Earthly executes builds in containers, where execution is isolated. The dependencies of the build are explicitly specified in the build definition, thus making the build self-sufficient.

We use a target-based system to help users break up complex builds into reusable parts. Nothing is shared between targets other than clearly declared dependencies. Nothing shared means no unexpected race conditions. In fact, the build is executed in parallel whenever possible, without any need for the user to take care of any locking or unexpected environment interactions.

ℹ️ Note Earthfiles might seem very similar to Dockerfile multi-stage builds. In fact, the same technology is used underneath. However, a key difference is that Earthly is designed to be a general-purpose build system, not just a Docker image specification. Read more about how Earthly is different from Dockerfiles.

Installation

See installation instructions.

To build from source, check the contributing page.

Quick Start

Here are some resources to get you started with Earthly

See also the [full documentation](

readme truncated — read the full docs on github

Frequently asked questions

Is earthly free to use?

earthly is open source under the MPL-2.0 licence. There is no licence fee and no seat count — you can self-host it or, where the project offers one, pay a vendor for a managed version instead.

What does earthly do?

Super simple build framework with fast, repeatable builds and an instantly familiar syntax – like Dockerfile and Makefile had a baby.

What is earthly written in?

earthly is primarily written in Go. Its source is publicly available at https://github.com/earthly/earthly, and it has 12,047 GitHub stars.