diff --git a/sonic-slave-buster/Dockerfile.j2 b/sonic-slave-buster/Dockerfile.j2 index a0c00e5b04a1..1d0656bb78fc 100644 --- a/sonic-slave-buster/Dockerfile.j2 +++ b/sonic-slave-buster/Dockerfile.j2 @@ -550,6 +550,7 @@ RUN pip3 install "lxml==4.9.1" {%- endif %} # For sonic-platform-common testing +RUN pip2 install redis RUN pip3 install redis # For vs image build diff --git a/sonic-slave-stretch/Dockerfile.j2 b/sonic-slave-stretch/Dockerfile.j2 index 58686fe20d8c..5ccc07c464d5 100644 --- a/sonic-slave-stretch/Dockerfile.j2 +++ b/sonic-slave-stretch/Dockerfile.j2 @@ -337,6 +337,7 @@ RUN pip3 install "lxml==4.9.1" # For sonic-platform-common testing +RUN pip2 install redis RUN pip3 install redis # For vs image build