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 fi
echo "Installing Azure CLI" echo "Installing Azure CLI"
AZURE_REPO=$(lsb_release -cs) echo "deb [arch=amd64] https://packages.microsoft.com/repos/azure-cli/ stretch main" | sudo tee /etc/apt/sources.list.d/azure-cli.list
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 | sudo apt-key add
curl -L https://packages.microsoft.com/keys/microsoft.asc | apt-key add sudo apt install apt-transport-https
apt install apt-transport-https sudo apt update
apt update && apt install azure-cli sudo apt install azure-cli
echo "Building helm binaries" echo "Building helm binaries"

Loading…
Cancel
Save