File tree Expand file tree Collapse file tree 1 file changed +2
-5
lines changed
Expand file tree Collapse file tree 1 file changed +2
-5
lines changed Original file line number Diff line number Diff line change @@ -18,14 +18,11 @@ set -o errexit
1818set -o nounset
1919set -o pipefail
2020
21- # Store an Azure CLI version of choice
22- AZ_VER=2.69.0
23-
24- echo " installing Azure CLI $AZ_VER "
21+ echo " installing Azure CLI"
2522apt-get update && apt-get install -y ca-certificates curl apt-transport-https lsb-release gnupg
2623curl --retry 3 -sL https://packages.microsoft.com/keys/microsoft.asc | gpg --dearmor | tee /etc/apt/trusted.gpg.d/microsoft.gpg > /dev/null
2724AZ_DIST=$( lsb_release -cs)
2825echo " deb [arch=amd64] https://packages.microsoft.com/repos/azure-cli/ ${AZ_DIST} main" | tee /etc/apt/sources.list.d/azure-cli.list
2926apt-get update
3027# Install a specific version
31- apt-get install azure-cli= ${AZ_VER} -1~ ${AZ_DIST} -y --allow-downgrades
28+ apt-get install azure-cli -y
You can’t perform that action at this time.
0 commit comments