From 860bc7492a7c9d30740543ac5e1edecb5e5246b9 Mon Sep 17 00:00:00 2001 From: Vaibhav Hemant Dixit Date: Fri, 3 Mar 2023 11:24:26 -0800 Subject: [PATCH] Add shellcheck and mock modules for running unit and linter test (#14062) --- dockers/docker-sonic-mgmt/Dockerfile.j2 | 3 +++ 1 file changed, 3 insertions(+) diff --git a/dockers/docker-sonic-mgmt/Dockerfile.j2 b/dockers/docker-sonic-mgmt/Dockerfile.j2 index 77b30ef784f8..f0865712a8d4 100755 --- a/dockers/docker-sonic-mgmt/Dockerfile.j2 +++ b/dockers/docker-sonic-mgmt/Dockerfile.j2 @@ -22,6 +22,7 @@ RUN apt-get update && apt-get install -y build-essential \ python3-pip \ python3-venv \ rsyslog \ + shellcheck \ snmp \ software-properties-common \ sshpass \ @@ -59,6 +60,7 @@ RUN pip install allure-pytest==2.8.22 \ jsonpatch \ lazy-object-proxy==1.6.0 \ lxml \ + mock \ msrest==0.6.21 \ natsort \ netaddr \ @@ -205,6 +207,7 @@ RUN python3 -m pip install aiohttp \ jsonpatch \ lxml \ markupsafe==2.0.1 \ + mock \ msrest==0.6.21 \ natsort \ ncclient \