From 09ae7c03b46cba4e8e477aa4bf0fbe49ea2b245c Mon Sep 17 00:00:00 2001 From: "Gustav F. Lasko" Date: Fri, 12 Jul 2024 12:59:50 +0000 Subject: [PATCH] fix: allow pip to install globally When using pip install, it really wants us to use virtual python environments, and will fail if we try to pip install the Azure CLI globally. Since we have a very constrained use case for the runner, we are OK with installing globally, as there's nothing else using the Azure CLI to clobber. --- azure/Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/azure/Dockerfile b/azure/Dockerfile index 7b92a62..c5532bc 100644 --- a/azure/Dockerfile +++ b/azure/Dockerfile @@ -7,7 +7,7 @@ RUN id -u -> /tmp/uid USER root -RUN apk add gcc python3-dev musl-dev linux-headers +RUN apk add gcc python3-dev musl-dev linux-headers --break-system-packages RUN pip install azure-cli