-
Notifications
You must be signed in to change notification settings - Fork 481
Open
Labels
cli-bugNeeds an upstream @devcontainers/cli bug fix.Needs an upstream @devcontainers/cli bug fix.
Description
Hi, Team.
When I added the azure-cli
feature to the devcontainer settings, I enabled the following option:
"installBicep": true
Because it's a part of Azure CLI option, I was expecting that I would be able to use the following command:
az bicep version
However, it doesn't work. Rather it works in the following way:
bicep --version
It means that the Bicep CLI works as a standalone CLI instead of the part of Azure CLI. And I found the following codebase:
features/src/azure-cli/install.sh
Lines 205 to 208 in 7fa9011
# Properly install Azure Bicep based on current architecture | |
# The `az bicep install` command installs the linux-x64 binary even on arm64 devcontainers | |
# The `az bicep install --target-platform` could be a solution; however, linux-arm64 is not an allowed value for this argument yet | |
# Manually installing Bicep and moving to the appropriate directory where az expects it to be |
Is there a reason that we use the standalone Bicep CLI, rather than Azure CLI integrated one?
Metadata
Metadata
Assignees
Labels
cli-bugNeeds an upstream @devcontainers/cli bug fix.Needs an upstream @devcontainers/cli bug fix.