aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorSamruddhi Khandale <skhandale@microsoft.com>2023-08-16 21:38:49 +0300
committerGitHub <noreply@github.com>2023-08-16 21:38:49 +0300
commitc58b614202d525b2530d0bbfc45a6a6bbc1a9569 (patch)
tree5c0047c78bc31632261257e514b82bc0f4c496c5 /src
parent1d1a23625dc714629ab863cbca7e890516d4283d (diff)
Azure-cli: Revert temporary fix which installed az with python (#629)feature_azure-cli_1.2.1
Diffstat (limited to 'src')
-rw-r--r--src/azure-cli/devcontainer-feature.json4
-rwxr-xr-xsrc/azure-cli/install.sh1
2 files changed, 2 insertions, 3 deletions
diff --git a/src/azure-cli/devcontainer-feature.json b/src/azure-cli/devcontainer-feature.json
index 09c295c..3d1c0df 100644
--- a/src/azure-cli/devcontainer-feature.json
+++ b/src/azure-cli/devcontainer-feature.json
@@ -1,6 +1,6 @@
{
"id": "azure-cli",
- "version": "1.2.0",
+ "version": "1.2.1",
"name": "Azure CLI",
"documentationURL": "https://github.com/devcontainers/features/tree/main/src/azure-cli",
"description": "Installs the Azure CLI along with needed dependencies. Useful for base Dockerfiles that often are missing required install dependencies like gpg.",
@@ -26,7 +26,7 @@
"installUsingPython": {
"type": "boolean",
"description": "Install Azure CLI using Python instead of pipx",
- "default": true
+ "default": false
}
},
"customizations": {
diff --git a/src/azure-cli/install.sh b/src/azure-cli/install.sh
index 9b0d72d..5175948 100755
--- a/src/azure-cli/install.sh
+++ b/src/azure-cli/install.sh
@@ -141,7 +141,6 @@ install_using_pip_strategy() {
ver="==${AZ_VERSION}"
fi
- # Temprary quick fix for https://github.com/devcontainers/features/issues/624
if [ "${INSTALL_USING_PYTHON}" = "true" ]; then
install_with_complete_python_installation "${ver}" || install_with_pipx "${ver}" || return 1
else