From 2876a88650a931b430a78420040e757fd7b5fb7d Mon Sep 17 00:00:00 2001 From: Qi Luo Date: Wed, 8 Aug 2018 20:02:25 +0000 Subject: [PATCH 1/2] Upgrade azure-keyvault to known compatible version Signed-off-by: Qi Luo --- dockers/docker-sonic-mgmt/Dockerfile.j2 | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/dockers/docker-sonic-mgmt/Dockerfile.j2 b/dockers/docker-sonic-mgmt/Dockerfile.j2 index cd2fd5ff37d..d9d562f0efd 100644 --- a/dockers/docker-sonic-mgmt/Dockerfile.j2 +++ b/dockers/docker-sonic-mgmt/Dockerfile.j2 @@ -101,6 +101,7 @@ RUN azure-cli_bundle_*/installer # Known bug: azure keyvault cannot work behind a proxy # Temporary fix: upgrade the azure-keyvault package within az cli -RUN ~/lib/azure-cli/bin/python -m pip install azure-keyvault -U +# TODO: if azure-cli containers newer version azure-keyvault, remove this +RUN ~/lib/azure-cli/bin/python -m pip install azure-keyvault==0.3.7 -U RUN git clone https://github.com/Azure/sonic-mgmt From 22e20b1cac6ef4e6f77d471fe6c92acb710e7a9f Mon Sep 17 00:00:00 2001 From: Qi Luo Date: Wed, 8 Aug 2018 21:04:13 +0000 Subject: [PATCH 2/2] (fix typo) Signed-off-by: Qi Luo --- dockers/docker-sonic-mgmt/Dockerfile.j2 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dockers/docker-sonic-mgmt/Dockerfile.j2 b/dockers/docker-sonic-mgmt/Dockerfile.j2 index d9d562f0efd..2feac540353 100644 --- a/dockers/docker-sonic-mgmt/Dockerfile.j2 +++ b/dockers/docker-sonic-mgmt/Dockerfile.j2 @@ -101,7 +101,7 @@ RUN azure-cli_bundle_*/installer # Known bug: azure keyvault cannot work behind a proxy # Temporary fix: upgrade the azure-keyvault package within az cli -# TODO: if azure-cli containers newer version azure-keyvault, remove this +# TODO: if azure-cli contains newer version azure-keyvault, remove this RUN ~/lib/azure-cli/bin/python -m pip install azure-keyvault==0.3.7 -U RUN git clone https://github.com/Azure/sonic-mgmt