FlareStart
HomeNewsHow ToSources
FlareStart

Where developers start their day. All the tech news & tutorials that matter, in one place.

Quick Links

  • Home
  • News
  • Tutorials
  • Sources
  • Privacy Policy

Connect

© 2026 FlareStart. All rights reserved.

Back to articles
Earthly Is Free — Makefile + Docker = Reproducible Builds
How-ToDevOps

Earthly Is Free — Makefile + Docker = Reproducible Builds

via Dev.to TutorialAlex Spinov2h ago

The Problem With CI/CD Your build works locally but fails in CI. Different Node versions, missing system libraries, environment differences. Earthly fixes this. What Earthly Does Earthly = Makefile syntax + Docker isolation. Every step runs in a container. Same result everywhere. Earthfile VERSION 0.8 build: FROM node:20 WORKDIR /app COPY package.json package-lock.json . RUN npm ci COPY . . RUN npm run build SAVE ARTIFACT dist AS LOCAL dist test: FROM +build RUN npm test docker: FROM +build EXPOSE 3000 CMD ["node", "dist/server.js"] SAVE IMAGE my-app:latest all: BUILD +test BUILD +docker Usage # Install curl -sSfL https://earthly.dev/get-earthly | sh # Run earthly +build # Build only earthly +test # Build + test earthly +docker # Build + create Docker image earthly +all # Everything Why Earthly Same build locally and in CI Layer caching (fast rebuilds) Multi-platform builds Parallel execution Works with any CI (GitHub Actions, GitLab, Jenkins) Earthly vs Alternatives Feature Earthly Ma

Continue reading on Dev.to Tutorial

Opens in a new tab

Read Full Article
0 views

Related Articles

We Tested This FREE TradingView Trend Indicator… It Only Works Here!
How-To

We Tested This FREE TradingView Trend Indicator… It Only Works Here!

Medium Programming • 3h ago

5 Campfire Songs Anyone Can Play on Guitar (Free Chord Charts)
How-To

5 Campfire Songs Anyone Can Play on Guitar (Free Chord Charts)

Dev.to Beginners • 6h ago

Bybit vs HTX — Which Crypto Exchange Is Better? (2026)
How-To

Bybit vs HTX — Which Crypto Exchange Is Better? (2026)

Dev.to Beginners • 6h ago

Stop Posting Noise: Building in Public Needs Real Value
How-To

Stop Posting Noise: Building in Public Needs Real Value

Dev.to Beginners • 7h ago

We got an audience with the "Lunar Viceroy" to talk how NASA will build a Moon base
How-To

We got an audience with the "Lunar Viceroy" to talk how NASA will build a Moon base

Ars Technica • 7h ago

Discover More Articles