Back to articles
Earthly Has a Free API: Reproducible Builds That Work the Same Everywhere
How-ToDevOps

Earthly Has a Free API: Reproducible Builds That Work the Same Everywhere

via Dev.to DevOpsAlex Spinov

Earthly is a build tool that combines the best of Dockerfiles and Makefiles. Every build runs in containers, so it works identically on your laptop and in CI. It's free, open source, and has a cloud service for caching and satellites. Why Earthly? Reproducible — containerized builds, same result everywhere Familiar syntax — if you know Dockerfile + Makefile, you know Earthly Caching — automatic layer caching, shared across team via Earthly Cloud Multi-language — Go, Python, JS, Rust, Java — all in one Earthfile Parallelism — automatic parallel execution of independent targets Install # Linux/Mac curl -sSfL https://github.com/earthly/earthly/releases/latest/download/earthly- $( uname -s ) - $( uname -m ) -o /usr/local/bin/earthly && chmod +x /usr/local/bin/earthly # Or via brew brew install earthly # Bootstrap (sets up BuildKit) earthly bootstrap Earthfile (Like Dockerfile + Makefile) # Earthfile VERSION 0.8 # Base image with dependencies deps: FROM node:20-alpine WORKDIR /app COPY pack

Continue reading on Dev.to DevOps

Opens in a new tab

Read Full Article
7 views

Related Articles