azurelinux
AGENTS.md5.3k starsChanged 2 months agoMITView on GitHub
For project context and architecture, see .github/copilot-instructions.md. USE YOUR BEST JUDGEMENT, but when in doubt, test. If your change could affect the built RPMs, smoke-test before reporting success. See azldev-mock. Do NOT skip testing for changes that affect RPM output. Do NOT tell the user "the build succeeded" without also running the smoke-test. If testing cannot be performed (e.g., the package has no runnable binary, or some other issue), explicitly document why and what was verified instead.
- Deletes or force-pushes
Trending
Quiet since September.about the whole repository
Who's talking about microsoft/azurelinux
- A Hacker News story“Microsoft's Azure Linux”Hacker News · Jan 29, 2026 · 66 points
- @blowdart.me“github.com/microsoft/az...”Bluesky · Dec 13, 2024 · 10 likes
- A Hacker News story“Microsoft Azure Linux”Hacker News · May 19, 2026 · 4 points
- @matsuu.bsky.social“Microsoft、従来CBL-Marinerと呼んでいた自家製Linuxディストリビューションの名称をAzure Linuxに変更した模様。わいわい”Bluesky · Mar 10, 2024 · 4 likes
- project-copacetic/copacetic“[BUG] copa overwrites /usr/sbin symlink for mariner distroless/debug”GitHub · Nov 26, 2024 · 3 reactions
The biggest 5 of 40 mentions linking to the repository that our crawl found. Each line is their own headline.
See all 40
Talked about on GitHub, Bluesky and Hacker News (40 times).
On GitHub · 26
- Nov 26, 2024[BUG] copa overwrites /usr/sbin symlink for mariner distroless/debug — project-copacetic/copacetic3 reactions · 1 comment
- Sep 7, 2025Release Expat 2.7.2 (ETA 2025-09-16) — libexpat/libexpat2 reactions
- May 28, 2025Add shadow-utils to our AZL3 images — dotnet/dotnet-buildtools-prereqs-docker2 reactions · 2 comments
- Mar 25, 2025Release Expat 2.7.1 (ETA 2025-03-27) — libexpat/libexpat2 reactions · 2 comments
- Sep 18, 2026Support Azure Linux 3 — microsoft/nvx1 reaction · 1 comment
21 more on GitHub
- Jun 10, 2024Add Azure Linux OS — repology/repology-updater1 reaction · 3 comments
- May 20, 2024Latest Azure Linux 3.0 drop is getting TLS error during `dotnet restore` — dotnet/dotnet-docker1 reaction · 1 comment
- Mar 19, 2024cbl-mariner images don't include useradd — microsoft/go1 reaction · 5 comments
- Sep 18, 2026feat(config): add VM SKU groups for test fan-out — microsoft/azure-linux-dev-tools0 reactions
- Jul 27, 2026Add Support For AzureLinux 4.0 — microsoft/WSL0 reactions · 6 comments
- Jul 8, 2026[New Product] Azure Linux — endoflife-date/endoflife.date0 reactions · 1 comment
- Jul 3, 2026Azure Linux 4.0 base image — alanta/azure-egress-proxy0 reactions · 2 comments
- Apr 2, 2026when running `azldev config dump` images return only an absolute path — microsoft/azure-linux-dev-tools0 reactions
- Sep 2, 2025Enable `CONFIG_INET_DIAG_DESTROY` kernel config in the Docker Desktop's linuxkit kernel — docker/roadmap0 reactions
- Aug 6, 2025[RFE] Enable CONFIG_INET_DIAG_DESTROY — flatcar/Flatcar0 reactions · 18 comments
- Jul 25, 2025Consume expanded BTF info on Azure Linux — microsoft/retina0 reactions
- May 11, 2025Update install.sh to ignore mkdir errors — microsoft/KeysInUse-OpenSSL0 reactions
- Mar 10, 2025This is an auto-generated pull request to cherry-pick commit 328a3a73fcdb595b632250fda537fa4037aa55f1 to 3.0-dev. Original PR: #12825 — Pitan1993/NiceHashBot0 reactions
- Mar 10, 2025This is an auto-generated pull request to cherry-pick commit 328a3a73fcdb595b632250fda537fa4037aa55f1 to 3.0-dev. Original PR: #12825 — nicehash/NiceHashMiner0 reactions · 2 comments
- Feb 4, 2025CVE-2024-46854 CVE-2024-43849 CVE-2024-46852 CVE-2024-46853 CVE-2024-41080 CVE-2024-46849 CVE-2024-50086 CVE-2024-47671 CVE-2022-48635 CVE-2024-43834 CVE-2024-36893 CVE-2024-46695 CVE-2024-43846 CVE-2024-50036 CVE-2024-47672 CVE-2024-44931 CVE-2024-50058 CVE-2024-46858 CVE-2024-43835 CVE-2024-36972 — solflare-wallet/utl-aggregator0 reactions
- Nov 26, 2024LiveOS ISOs cannot boot when SELinux is enabled — dracut-ng/dracut0 reactions · 10 comments
- Sep 18, 2024Extension fails on Azure Linux 3.0 as an unsupported distro — Azure/Guest-Configuration-Extension0 reactions · 1 comment
- Sep 5, 2024Request: New azurelinux tags — PowerShell/PowerShell-Docker0 reactions
- Aug 1, 2024Won't build due to error obtaining VCS status: exit status 128 (and workaround) — cblichmann/btrfscue0 reactions · 1 comment
- Mar 28, 2024FYI issue reported to CBL-mariner: tdnf cannot install ca-certificates due to certificate error — microsoft/wslg0 reactions · 3 comments
- Aug 22, 2022Add support for cgmanifest — aboutcode-org/scancode-toolkit0 reactions
On Bluesky · 11
- Dec 13, 2024github.com/microsoft/az... — @blowdart.me10 likes and reposts · 1 reply
- Mar 10, 2024Microsoft、従来CBL-Marinerと呼んでいた自家製Linuxディストリビューションの名称をAzure Linuxに変更した模様。わいわい — @matsuu.bsky.social4 likes and reposts
- May 19, 2026So Microsoft have a new server OS eh? Azure Linux https://github.com/microsoft/azurelinux — @ruari.velocipederider.com.ap.brid.gy2 likes and reposts · 2 replies
- Jun 6, 2026Microsoft circa 2000: Linux is communism Microsoft now: Has it's own Linux OS github.com/microsoft/az... — @martin-s.bsky.social1 likes and repost · 1 reply
- May 19, 2026Azure Linuxのリモートリポジトリはこちら github.com/microsoft/az... — @woodstream.jp1 likes and repost
6 more on Bluesky
- Jan 29, 2026Microsoft's Azure Linux Discussion | hackernews | Author: AbuAssar — @news.karthihegde.dev1 likes and repost
- Jan 29, 2026Microsoft's Azure Linux | Discussion — @hackernewsbot.bsky.social1 likes and repost
- Oct 8, 2025they do!! github.com/microsoft/az... — @jon.me.uk1 likes and repost
- Dec 11, 2024github.com/microsoft/az... — @mahdi.simply-vibing.com1 likes and repost
- Sep 25, 2024📦 microsoft / azurelinux ⭐ 4,196 (+18) 🗒 RPM Spec Linux OS for Azure 1P services and edge appliances — @github-trending.bsky.social1 likes and repost
- Sep 25, 2024今日のGitHubトレンド microsoft/azurelinux CBL-Marinerは、マイクロソフトのクラウドインフラおよびエッジ製品・サービス向けのLinuxディストリビューションです。… — @dailygithubtrends.bsky.social1 likes and repost
On Hacker News · 3
- Jan 29, 2026Microsoft's Azure Linux66 points · 109 comments
- May 19, 2026Microsoft Azure Linux4 points
- Sep 23, 2024Microsoft Azure Linux (cloud v3 and not Wal)2 points · 1 comment
Where files are headingNew AGENTS.md files have more rules about keeping secrets out of the code, and fewer about checking a change actually works.
Of the AGENTS.md files we read, the 11,773 first seen in the last six months, against the older ones: the kind of rule that gained most share, and the kind that lost most. About files like this in general, not this one, and an estimate, since a kind is a pattern in the words.
In this repository20 other files it gives its agents.
- base/comps/AGENTS.mdAGENTS.md
- distro/AGENTS.mdAGENTS.md
- .github/copilot-instructions.mdCopilot instructions
- azldev-add-componentSkill
- azldev-build-componentSkill
- azldev-comp-tomlSkill
- azldev-imageSkill
- azldev-mockSkill
- azldev-overlay-metadataSkill
- azldev-overlaysSkill
- azldev-remove-componentSkill
- azldevSkill
- azldev-update-componentSkill
- skill-aks-healthSkill
- skill-deployment-contextSkill
- skill-fedora-mirror-injectionsSkill
- skill-koji-triageSkill
- skill-kql-queriesSkill
- skill-mass-triageSkill
- skill-metricsSkill
The file
We split this AGENTS.md into the rules it gives an agent
5 rules. About 0 are common, 1 is distinctive, and 4 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈1
Distinctive · estimate
This author's own choices. Worth a look.
4
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 34
Always run azldev comp list -p <name> -q -O json before modifying a component.
- Distinctive: line 35
Prefer overlays over forking/local specs when customizing upstream packages.
- Very specific: line 36
After modifying overlays or component config, re-render with azldev comp render -p <name> and inspect specs/<first-char>/<name>/ to verify …
- Very specific: line 40
Use prep-sources for deeper debugging: azldev comp prep-sources -p <name> --skip-overlays --force -o <pre-dir> -q and azldev comp …
- Very specific: line 41
Follow the inner loop cycle: investigate → modify → render → build → test → inspect.
≈ “Common” is an estimate: at least 1 in 5 of the 16,595 AGENTS.md files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Azure Linux — Agent Guide
For project context and architecture, see .github/copilot-instructions.md.
Mandatory Testing
USE YOUR BEST JUDGEMENT, but when in doubt, test. If your change could affect the built RPMs, smoke-test before reporting success. See
azldev-mock.
Examples of changes that should trigger a final test prior to sign-off (not an exhaustive list)
- Version bumps or pinning a new upstream version
- Adding, modifying, or removing overlays (trivial edits may only require
renderverification, but when in doubt, do a full build + smoke-test) - Changing build config (
build.defines,build.with,build.without) - Modifying local spec files or source files (again, trivial edits may not require a full rebuild, but when in doubt, test)
- Adding a new component (first build)
Examples of changes that may not require testing (no effect on RPM output)
- Moving a component definition between files (inline
components.toml→ dedicated<name>.comp.tomlor vice versa) - Editing only component metadata fields (e.g., overlay descriptions, build descriptions, comments) without changing actual build config or overlays
- Adding or editing TOML comments
- Pure documentation or formatting changes
Minimum required testing
- Build —
azldev comp build -p <name>succeeds, RPMs appear inbase/out/. - Inspect — Use
mock --copyinto copy the RPM into the chroot and inspect withrpm -qlpwithout installing. Seeazldev-mock. - Smoke-test — Use a mock chroot (
azldev adv mock shell --add-package /path/to/rpm) to install and validate basic functionality (e.g.,<binary> --version, service starts, library loads). Seeazldev-mock.
Do NOT skip testing for changes that affect RPM output. Do NOT tell the user "the build succeeded" without also running the smoke-test. If testing cannot be performed (e.g., the package has no runnable binary, or some other issue), explicitly document why and what was verified instead.
Conventions
- Always run
azldev comp list -p <name> -q -O jsonbefore modifying a component. - Prefer overlays over forking/local specs when customizing upstream packages.
- After modifying overlays or component config, re-render with
azldev comp render -p <name>and inspectspecs/<first-char>/<name>/to verify the result. This is the fastest verification path.- Note: Changing a global snapshot time may affect all components that depend on it, potentially causing widespread rebuilds. Full re-render is time-consuming, but may be done by
azldev comp render -a --clean-stale.
- Note: Changing a global snapshot time may affect all components that depend on it, potentially causing widespread rebuilds. Full re-render is time-consuming, but may be done by
- Always re-run
azldev comp update -p <name>before opening a PR, even for minor edits — lock fingerprints are computed from the full component config, and theUpdate LocksCI check runs against the committed state. Seeazldev-update-component. - Every commit that touches a component bumps
%changelog/Release:on the next render (rpmautospec walksgit logfor the spec). After committing, re-render and amend so the spec tracks your commit, otherwiseCheck Rendered Specswill fail. Seeazldev-update-componentfor the finalize-and-amend pattern, plus the pin-bump variant. - Use
prep-sourcesfor deeper debugging:azldev comp prep-sources -p <name> --skip-overlays --force -o <pre-dir> -qandazldev comp prep-sources -p <name> --force -o <post-dir> -qto diff pre/post overlay output when you need to understand what upstream provides vs. what overlays change. Always use--forceto overwrite an existing output dir,rm -rfrequires user confirmation which is disruptive. - Follow the inner loop cycle: investigate → modify → render → build → test → inspect. See
azldev-build-component.- Note: Use your best judgement, some packages are VERY slow to build (e.g.,
kernel), in those cases you may want to do multiple iterations of investigate → modify → verify withrenderbefore doing a full build + test.
- Note: Use your best judgement, some packages are VERY slow to build (e.g.,
prep-sources -o <dir>output is ad-hoc (user-chosen dir).comp buildoutput goes to project-configured dirs (base/out/,base/build/). Don't conflate them.- For temporary files, ensure they are all placed inside the project's defined work directory (
azldev config dump -q -f json 2>&1 | grep 'workDir'). Example commands usebase/build/work/scratch/, and all temp directories should be inside it unless there's a specific reason not to be.
Do NOT use
/tmpor baremktemp -d— always usebase/build/work/scratch/(or a subdirectory) for temporary files. This avoids permission issues and keeps all working files inside the project tree.
Example: workDir="/home/user/azurelinux/base/build/work", use "./base/build/work/scratch/" for all temp dirs, or a subdir like "./base/build/work/scratch/thing".
Skills
Detailed workflows live in skills (loaded on-demand when relevant):
| Task | Skill |
| Use azldev or edit distro configuration | azldev |
| Build a component, debug build failures | azldev-build-component |
| Bump a component's upstream pin (lock files) | azldev-update-component |
| Add a new component to the distro | azldev-add-component |
| Remove component(s) from the distro | azldev-remove-component |
| Diagnose and fix overlay issues | azldev-overlays |
| Test and inspect packages in mock chroot | azldev-mock |
| Review component for hygiene and best practices | azldev-comp-toml review checklist |
| Build, boot, test, or configure images | azldev-image |
| Triage Koji build failures | skill-koji-triage |
| Batch-triage build failures from results file | skill-mass-triage |
| Fix Stage 1 Fedora mirror dependency gaps (injections) | skill-fedora-mirror-injections |
| Inspect Koji AKS cluster health and node pools | skill-aks-health |
| Resolve Koji AKS deployment context | skill-deployment-context |
| KQL queries for Koji logs, pods, and events | skill-kql-queries |
| Query Azure Monitor metrics for Koji AKS | skill-metrics |
Azure infra workflow ordering: Before running any KQL log queries, metrics queries, or AKS health checks, always resolve deployment context first using
skill-deployment-context. This provides the resource group, cluster name, subscription, and Log Analytics workspace needed by the other Azure skills.
Directory Guidance
- Components:
base/comps/AGENTS.md— file organization rules - Distro config:
distro/AGENTS.md— build defaults, shared config
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

