File tree Expand file tree Collapse file tree 1 file changed +5
-1
lines changed Expand file tree Collapse file tree 1 file changed +5
-1
lines changed Original file line number Diff line number Diff line change @@ -21,6 +21,7 @@ RUN apt-get update && apt-get install -y --no-install-recommends \
21
21
python3-all-dev \
22
22
python3-pip \
23
23
python3-setuptools \
24
+ python3-venv \
24
25
python3.6 \
25
26
redis-tools \
26
27
ruby-full \
@@ -44,7 +45,10 @@ RUN wget https://github.com/mikefarah/yq/releases/download/v${YQ_VERSION}/yq_lin
44
45
RUN curl "https://awscli.amazonaws.com/awscli-exe-linux-x86_64.zip" -o "awscliv2.zip" && unzip awscliv2.zip && ./aws/install
45
46
46
47
# Azure CLI
47
- RUN curl -sL https://aka.ms/InstallAzureCLIDeb | bash
48
+ RUN python3 -m venv /opt/azure-cli && \
49
+ . /opt/azure-cli/bin/activate && \
50
+ pip install --no-cache-dir azure-cli && \
51
+ ln -s /opt/azure-cli/bin/az /usr/local/bin/az
48
52
49
53
# GCloud SDK
50
54
RUN curl https://packages.cloud.google.com/apt/doc/apt-key.gpg | gpg --dearmor -o /usr/share/keyrings/cloud.google.gpg && \
You can’t perform that action at this time.
0 commit comments