From c9e012d327f79cbff56369379a0bf42aff7e3346 Mon Sep 17 00:00:00 2001 From: Guohan Lu Date: Sun, 12 Jan 2020 21:53:52 +0000 Subject: [PATCH] [docker-sonic-mgmt]: fix installation permission issue --- dockers/docker-sonic-mgmt/Dockerfile.j2 | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/dockers/docker-sonic-mgmt/Dockerfile.j2 b/dockers/docker-sonic-mgmt/Dockerfile.j2 index 4a7e1a9775..7cfaeaaf7d 100644 --- a/dockers/docker-sonic-mgmt/Dockerfile.j2 +++ b/dockers/docker-sonic-mgmt/Dockerfile.j2 @@ -105,6 +105,8 @@ debs/{{ deb }}{{' '}} RUN pip install ansible==2.8.7 +RUN pip install pysubnettree + RUN mkdir /var/run/sshd EXPOSE 22 @@ -143,6 +145,4 @@ RUN azure-cli_bundle_*/installer # 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 pip install pysubnettree - RUN git clone https://github.com/Azure/sonic-mgmt