Earthly (12,047 Stars) Build Framework 2026

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

📜 Table of Contents

📖 Keep reading

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-08-06
Audio Assistant: Build a Local Voice Assistant with Home Assistant and Whisper
2026-07-23
Machine Learning Pipeline Tutorial: Build Your First ML Pipeline Step by Step
2026-08-11
LLM Quantization Types Explained 2026: Q4, Q5, Q8 and What Each GGUF Level Costs You
2026-08-12
AI Inference 2026: What It Is, Why It Costs Money, and How to Make It Cheap
2026-07-13
Run Ollama Locally with Docker: Complete 2026 Setup Guide
2026-07-19
Open Source AI Image Generation: Free Midjourney Alternatives

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