Azure CLI docker container base Linux image is now Azure Linux by info.odysseyx@gmail.com September 5, 2024 written by info.odysseyx@gmail.com September 5, 2024 0 comment 1 views 1 Starting with Azure CLI version 2.64.0, the default Linux distribution for Azure CLI is now Azure Linux. The impact of change The az command is not affected. Shell commands that are specific to Alpine will not work (e.g. apk). The following GitHub actions use new images and may impact scripts that use Alpine-specific commands or components. Handling changes in GitHub Actions If you use GitHub Actions, remove Alpine-related commands from `inlineScript` in your azure/cli actions to seamlessly transition to this new image. Known issues regarding workarounds We have identified the following issues that may impact your pipeline or script: Package is missing ICU Package: Bicep stopped working on azure-cli:latest Docker image (2.64.0) · Issue #29828 · Azure/azure-cli (gi… Jq: jq command stopped working on azure-cli:latest Docker image (2.64.0) · Issue #29830 · Azure/azure-cl… way out: a. Fixed in 2.63.0 - name: Azure CLI script uses: azure/cli@v2 with: azcliversion: 2.63.0 inlineScript: | b. Install the packages manually: tdnf install -y icu, tdnf install –y jq - name: Azure CLI script uses: azure/cli@v2 with: azcliversion: 2.64.0 inlineScript: | tdnf install -y icu tdnf install –y jq tdnf not working: `tdnf` not working in GitHub Actions · Issue #29835 · Azure/azure-cli Sample affected use cases: jobs: deploy: runs-on: ubuntu-latest container: mcr.microsoft.com/azure-cli steps: - name: Cleanup build folder run: | tdnf install -y zip way out: a. Fixed in 2.63.0 - name: Azure CLI script uses: azure/cli@v2 with: azcliversion: 2.63.0 inlineScript: | b. Use azure/cli actions - name: Azure CLI script uses: azure/cli@v2 with: azcliversion: 2.64.0 inlineScript: | tdnf install -y zip Thank you for your cooperation! If you are not ready to migrate to Azure Linux yet due to a specific issue, please click the link below to open an issue on GitHub for assistance. Open an Azure CLI issue Open an Azure CLI task issue Source link Share 0 FacebookTwitterPinterestEmail info.odysseyx@gmail.com previous post Enhancing Data Security and Digital Trust in the Cloud using Azure Apps, Azure Storage and Azure Key Vault. next post Top Content Writing Job Openings at Melot Technologies in Mumbai – Apply Now! You may also like Built-in Oracle DB – using JKS keystore to support certification validation September 9, 2024 How to Stand Out as a Microsoft Student Ambassador: Perks, Process, and More… September 9, 2024 Optimizing a Terabyte-Scale Azure SQL Database September 7, 2024 Installation/Validation of extension-based hybrid worker September 7, 2024 New Surface Pro & Surface Laptop September 7, 2024 What's new in Microsoft Teams (free) | Aug 2024 September 6, 2024 Leave a Comment Cancel Reply Save my name, email, and website in this browser for the next time I comment.