
Earthly Has a Free API: Repeatable CI/CD Builds That Work Everywhere
Earthly is a build automation tool that combines the best of Makefiles and Dockerfiles. It gives you repeatable, containerized builds that work the same on your laptop and in CI. What Is Earthly? Earthly provides a syntax that combines Dockerfile and Makefile concepts into Earthfiles. Every build step runs in a container, so builds are reproducible regardless of the host environment. No more 'works on my machine' problems. Key Features: Reproducible containerized builds Dockerfile + Makefile hybrid syntax Automatic caching Parallel execution Multi-platform builds (ARM, x86) Works with any CI system Shared cache via Earthly Cloud Monorepo-friendly Installation # Install Earthly curl -sSL https://earthly.dev/get-earthly | sh # Verify earthly --version # Bootstrap (sets up BuildKit) earthly bootstrap Earthfile Example # Earthfile VERSION 0.8 # Base image for all targets FROM node:20-alpine WORKDIR /app # Install dependencies (cached) deps: COPY package.json package-lock.json . RUN npm ci
Continue reading on Dev.to Tutorial
Opens in a new tab

