fix(circle): lsb_release does not exist in linuxkit images

Signed-off-by: Matthew Fisher <matt.fisher@microsoft.com>
pull/5709/head
Matthew Fisher 5 years ago
parent 8842393e7c
commit 48cec416e8
No known key found for this signature in database
GPG Key ID: 92AA783CBAAE8E3B

@ -36,11 +36,11 @@ else
fi
echo "Installing Azure CLI"
AZURE_REPO=$(lsb_release -cs)
echo “deb [arch=amd64] https://packages.microsoft.com/repos/azure-cli/ $AZURE_REPO main” | tee /etc/apt/sources.list.d/azure-cli.list
curl -L https://packages.microsoft.com/keys/microsoft.asc | apt-key add
apt install apt-transport-https
apt update && apt install azure-cli
echo "deb [arch=amd64] https://packages.microsoft.com/repos/azure-cli/ stretch main" | sudo tee /etc/apt/sources.list.d/azure-cli.list
curl -L https://packages.microsoft.com/keys/microsoft.asc | sudo apt-key add
sudo apt install apt-transport-https
sudo apt update
sudo apt install azure-cli
echo "Building helm binaries"

Loading…
Cancel
Save