Azure CLI docker container base Linux image is now Azure Linux
Starting from the version 2.64.0 of Azure CLI, the base Linux distribution of Azure CLI is now Azure Linux.
Impact of the change
- az commands are unaffected.
- shell commands specific to Alpine will not be functional (ex: apk).
- The following GitHub action will use the new image and could impact scripts using Alpine specific commands or components
Addressing the change in GitHub actions
If you are using GitHub actions, remove any Alpine-specific commands from the `inlineScript` in azure/cli action to achieve a smooth transition to this new image.
Known issues with workaround
We have identified the following issues that may impact your pipelines or scripts:
- Package missing
ICU package: Bicep stopped working on azure-cli:latest Docker image (2.64.0) · Issue #29828 · Azure/azure-cli (github.com)
Solution:
a. Pin to 2.63.0
b. Install package manually: tdnf install -y icu, tdnf install –y jq
- tdnf not working: `tdnf` not working in GitHub Actions · Issue #29835 · Azure/azure-cli
A sample of affected use case:
Solution:
a. Pin to 2.63.0
b. Use azure/cli action
Thank you for your cooperation!
If you are not yet prepared to migrate to Azure Linux due to some specific issues, please open an issue on GitHub by clicking the below links, so we can assist you.
Opening Azure CLI action issue
Published on:
Learn moreRelated posts
Introducing Azure OpenAI Realtime API Support in JavaScript
Introducing the new Realtime API support in the OpenAI JavaScript library, enabling developers to create highly interactive and responsive app...
Full web support for conditional access policies across Azure DevOps and partner web properties
We’re happy to announce that we’ve made significant progress in updating our web authentication stack on Azure DevOps services and partner web...
Doctors generate faster, more accurate medical charts with Sayvant and Azure Cosmos DB
This article is guest authored by Justin Mardjuki, CEO, Sayvant. Emergency rooms and urgent care facilities handle an estimated 350 million vi...
Update to Azure DevOps Allowed IP addresses
We are excited to announce some important upgrades to our networking infrastructure that will enhance the performance and reliability of our s...
Azure SDK Release (January 2025)
Azure SDK releases every month. In this post, you find this month's highlights and release notes. The post Azure SDK Release (January 2025) ap...
Announcing AMQP v2 stack engine support in the Azure Messaging Event Hubs library for Java
This blog post announces a new stable release of the Azure Event Hubs library for Java, with enhanced reliability and performance. The post An...