Skip to content

Commit

Permalink
fix: allow pip to install globally
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
gustavlasko committed Jul 12, 2024
1 parent 64b9a4c commit 09ae7c0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion azure/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down

0 comments on commit 09ae7c0

Please sign in to comment.