u/Alzz111

Tired of bloated 5GB or outdated Azure DevOps images, I built a clean, minimal ~70MB Core Build Agent on modern Linux distros

Tired of bloated 5GB or outdated Azure DevOps images, I built a clean, minimal ~70MB Core Build Agent on modern Linux distros

Hey everyone,

Most self-hosted Azure DevOps agent images on Docker Hub fall into two categories: they are either tiny (~100MB) but completely outdated and abandoned, or massive (5GB+) monoliths packed with pre-installed runtimes.

In a build environment, huge monolithic images are a nightmare because they clutter the host's disk space and run the risk of introducing tool version conflicts with your actual pipelines.

I wanted a clean, "neutral" build agent. Just the core execution engine, fully updated on modern LTS bases, keeping the environment spotless while allowing full extensibility.

So, I built DO-Agent.

It provides just the essential Microsoft build engine on Ubuntu 24.04 (Noble) and Debian Trixie, weighing only ~68 MiB / ~78 MiB compressed.

Key Features:

  • Pure Build Engine: Includes only the strict dependencies required to spin up the Microsoft agent (git, curl, ca-certificates). No leftover tooling cluttering your host or interfering with your builds.
  • Explicit libicu Tracking: It explicitly ships with and tracks libicu versions (74 for Ubuntu Noble, 76 for Debian Trixie) to ensure 100% .NET runtime compatibility without surprises.
  • Lightweight & Fast: It starts instantly and consumes minimal network bandwidth on spin-up, leaving all the host disk space free for actual build caches and artifacts.
  • Fully Extensible (with Guide Included): Instead of maintaining massive images, you can easily extend it via Dockerfile or dynamically inject your testing/compilation tools (like Python, Node, or Playwright) straight through the Docker Compose entrypoint at boot. I’ve included a full copy-paste guide and examples in the README to make this seamless.

If you are looking for a highly optimized, neutral base for your self-hosted build pools without the typical bloat, give it a look!

Would love to hear your thoughts or feedback!

u/Alzz111 — 12 days ago