You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
"description": "Installs the Azure CLI along with needed dependencies. Useful for base Dockerfiles that often are missing required install dependencies like gpg.",
# This is a workaround for the fact that Azure CLI is not yet a supported package for debian trixie. Once Azure CLI is supported we should revert to avoid script failure for non Azure CLI packages
103
+
if! (apt-get update);then
104
+
echo"(!) Failed to update apt cache, removing repository file"
105
+
rm -f /etc/apt/sources.list.d/azure-cli.list
106
+
else
107
+
echo"WARNING: apt-get update succeeded. The workaround for broken Azure CLI install on Debian Trixie may no longer be needed."
108
+
echo"TODO: Consider reverting to a simple `apt-get update` if the Azure CLI repo works reliably for debian trixie"
0 commit comments