-
Notifications
You must be signed in to change notification settings - Fork 54
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Warning about Alpine-based image vs latest Azure Linux based image #159
Comments
Hi @matthewbarreiro, we're currently discussing the Linux distribution for |
Hi @matthewbarreiro, starting from version |
If you are not yet prepared to migrate to Azure Linux due to some specific issues, please let me now. You can temporarily pin the Azure CLI version to - name: Azure CLI script
uses: azure/cli@v2
with:
azcliversion: 2.63.0
inlineScript: |
<Your az commands here> |
This broke our CI/CD pipeline since we where using the latest version (by default), in inlineScript we had |
This broke our CI/CD too. We now hardcode this action to v2.63.0 while we wait for newer versions to mature.
We have no special scripting done in that action, only doing az deployment commands (validate, what-if, create). |
See #165 |
Hi everyone, please try the temporary workarounds mentioned in this blog. We're now working to resolve the package missing issue in Azure CLI version 2.65.0. |
We're pinning to 2.63.0 as well because the 2.64.0 image is missing other utilities like I tried manually installing Azure CLI into an Alpine image, which succeeds, however when we come to use
The resulting error from
Nothing other than the image has changed. Our scripts remain the same. |
The blog article linked here isn't helpful at all, IMO. It appears focused on a GitHub Action? Meanwhile, I'm trying to get a Docker image with the Azure CLI in it, a long with some basic Linux binaries. The article would be more useful if it included steps on how to properly build an Alpine-based image that includes Azure CLI that is properly configured (see my previous comment about that), especially since I'm seeing that error in the context of a running image, not a GitHub Action. |
Hi @stefcameron, this is the GitHub action repo for Azure cli. Could you please open an issue in https://github.com/Azure/azure-cli/issues to bring your scenario to the team's attention? |
@MoChilia Thanks for letting me know I was commenting in the wrong repo. In the Azure CLI repo per se, I found Azure/azure-cli#19591 which is basically the same steps as I was trying (and I believe the issue is also the CLI team's proposal for decoupling the CLI image from Alpine), and after some digging, I discovered that the MSI error I was experienced was a red herring as the real issue was I wasn't setting the active cloud prior to executing the |
Hi everyone, the missing valid ICU package error has been resolved in Azure CLI version 2.66.0 (Azure/azure-cli#29897). And |
When using this Action, the following is printed to console output:
The link contains the following:
Will this Action be updated to use the new container image automatically as part of
azure/CLI@v2
? If yes, is there a timeline for this change? If no, what is the planned path forward?Thank you in advance!
The text was updated successfully, but these errors were encountered: