Skip to content

Replace CBL-Mariner with Azure Linux#17

Closed
takano32 wants to merge 1 commit into
masterfrom
replace-cbl-mariner-with-azurelinux
Closed

Replace CBL-Mariner with Azure Linux#17
takano32 wants to merge 1 commit into
masterfrom
replace-cbl-mariner-with-azurelinux

Conversation

@takano32
Copy link
Copy Markdown
Owner

Summary

Replace the CBL-Mariner build target with Azure Linux 3.0.

This updates the distro target from cbl-mariner to azurelinux and switches the base image from:

  • mcr.microsoft.com/cbl-mariner/base/core:2.0

to:

  • mcr.microsoft.com/azurelinux/base/core:3.0

Changes

  • Rename the Docker Compose service from cbl-mariner to azurelinux
  • Replace the GitHub Actions matrix entry cbl-mariner with azurelinux
  • Rename cbl-mariner/Dockerfile to azurelinux/Dockerfile
  • Use tdnf instead of yum
  • Install Azure Linux kernel build dependencies based on the upstream Azure Linux kernel build guide
  • Update entrypoint.sh to detect ID=azurelinux

Notes

The kernel source still uses:

https://github.com/microsoft/CBL-Mariner-Linux-Kernel.git

because Microsoft’s Azure Linux kernel build guide still points to this repository for AzureLinux kernel builds.

Test

Expected local test:

docker compose build azurelinux
docker compose run --rm --env CI=true azurelinux

@takano32 takano32 closed this May 12, 2026
@takano32 takano32 deleted the replace-cbl-mariner-with-azurelinux branch May 12, 2026 08:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant