Output from azd version
azd version 1.2.0 (commit 99ea757)
Describe the bug
When azd installs its bicep provider, it uses the presence of the MUSL linker on the system to determine whether to install a MUSL based bicep. See this code here:
|
if _, err := os.Stat("/lib/ld-musl-x86_64.so.1"); err == nil { |
I believe this is the same issue in the main Azure CLI as Azure/bicep#5040 which was fixed by only installing the musl-based variant if there is no glibc installed. Could the same fix as made under https://github.com/Azure/azure-cli/pull/23040/files be made here in the developer CLI? Happy to offer a PR if that would be helpful.
To Reproduce
- Install the musl libc toolchain.
- Run
azd up in a Bicep-based deployment. Bicep installs but fails to run.
Expected behavior
Bicep should be installed for the correct system libc.
Environment
WSL Ubuntu 20.04 on Windows 11.
Output from
azd versionazd version 1.2.0 (commit 99ea757)
Describe the bug
When azd installs its bicep provider, it uses the presence of the MUSL linker on the system to determine whether to install a MUSL based bicep. See this code here:
azure-dev/cli/azd/pkg/tools/bicep/bicep.go
Line 167 in ba25a8c
I believe this is the same issue in the main Azure CLI as Azure/bicep#5040 which was fixed by only installing the musl-based variant if there is no glibc installed. Could the same fix as made under https://github.com/Azure/azure-cli/pull/23040/files be made here in the developer CLI? Happy to offer a PR if that would be helpful.
To Reproduce
azd upin a Bicep-based deployment. Bicep installs but fails to run.Expected behavior
Bicep should be installed for the correct system libc.
Environment
WSL Ubuntu 20.04 on Windows 11.