From 07f9702f06c351f78b458a1b2a6317f3bcbb6c98 Mon Sep 17 00:00:00 2001 From: Anton Smorodskyi Date: Mon, 29 Jan 2024 16:49:28 +0100 Subject: [PATCH] Switch to pip azure-cli install because azure-cli rpm not support python3.11 --- Dockerfile_k8s | 2 +- requirements_k8s.txt | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/Dockerfile_k8s b/Dockerfile_k8s index 8c51c754..93694f6d 100644 --- a/Dockerfile_k8s +++ b/Dockerfile_k8s @@ -1,6 +1,6 @@ FROM registry.suse.com/bci/python:3.11 -RUN zypper -n in gcc tar gzip kubernetes1.24-client aws-cli azure-cli && zypper clean && rm -rf /var/cache +RUN zypper -n in gcc tar gzip kubernetes1.24-client aws-cli && zypper clean && rm -rf /var/cache # Google cli installation RUN curl -sf https://dl.google.com/dl/cloudsdk/channels/rapid/downloads/google-cloud-cli-415.0.0-linux-x86_64.tar.gz | tar -zxf - -C /opt \ diff --git a/requirements_k8s.txt b/requirements_k8s.txt index 34435c8a..c690a6e9 100644 --- a/requirements_k8s.txt +++ b/requirements_k8s.txt @@ -1,5 +1,6 @@ oauth2client kubernetes +azure-cli==2.55.0 google-api-python-client==2.96.0 azure-mgmt-containerservice==22.0.0 azure-identity==1.14.0