Earthly (12,047 Stars) Build Framework 2026: Repeatable Builds with a Familiar Dockerfile Syntax

๐Ÿ“˜ Tutorials 2026-08-06 2 min read

Earthly (12,047 stars) brings Dockerfile-like syntax to builds and CI: repeatable, parallel, and cache-friendly. Here is how to migrate a Makefile project to Earthly.

💡 What You Will Learn

Earthly (12,047 stars) brings Dockerfile-like syntax to builds and CI: repeatable, parallel, and cache-friendly. Here is how to migrate a Makefile project to Earthly.

📜 Table of Contents

The short answer

earthly/earthly (12,047 stars, Go) is a build framework that makes builds fast, repeatable, and CI-friendly. It uses a syntax similar to Dockerfiles, so there is almost no learning curve if you already know Docker. Every target runs in an isolated environment, so builds behave the same on your laptop and in CI.

Key ideas

Example Earthfile

VERSION 0.8
FROM python:3.12
WORKDIR /src

build:
    COPY requirements.txt ./
    RUN pip install -r requirements.txt
    COPY . .
    SAVE ARTIFACT . /build

test:
    FROM +build
    RUN pytest tests/

Run it:

# install
curl -L https://earthly.dev/get | sh
# build and test
earthly +build
earthly +test

Why teams switch from Makefile

FAQ

Is it free? Yes - Earthly is open source (MPL-2.0), with optional paid cloud features.

Can it replace Docker builds? It complements them: Earthly builds images and artifacts, and can push to any registry.

Does it work with GitHub Actions? Yes - there is a GitHub Action (earthly/earthly-action) that runs Earthly in CI.

❓ FAQ

Is it free?

Yes - Earthly is open source (MPL-2.0), with optional paid cloud features.

Can it replace Docker builds?

It complements them: Earthly builds images and artifacts, and can push to any registry.

Does it work with GitHub Actions?

Yes - there is a GitHub Action (`earthly/earthly-action`) that runs Earthly in CI.

Related Articles
2026-07-17
AI Agent JWT Auth 2026
2026-08-07
AI Web Scraper Agent: Build a Self-Correcting Scraper with browser-use
2026-08-13
AI Audiobook Generator Open Source 2026: Self-Hosted TTS That Reads Your Library

Written by our editorial team; tools listed here are tested or verified against public sources. Links point to official sites or GitHub repos for reference only โ€” no paid placements.

๐Ÿ’ฌ Comments (0)

No comments yet. Be the first!

Login to comment