diff --git a/sonic-slave-buster/Dockerfile.j2 b/sonic-slave-buster/Dockerfile.j2 index 5db98a58c8..3e8dad321c 100644 --- a/sonic-slave-buster/Dockerfile.j2 +++ b/sonic-slave-buster/Dockerfile.j2 @@ -426,7 +426,7 @@ RUN pip2 install "lxml==4.6.2" RUN pip3 install "lxml==4.6.2" # For sonic-platform-common testing -RUN pip3 install redis +RUN pip3 install redis==3.5.3 # For vs image build RUN pip2 install pexpect==4.6.0 diff --git a/sonic-slave-stretch/Dockerfile.j2 b/sonic-slave-stretch/Dockerfile.j2 index 5933bc4ea0..2acaaf6c9c 100644 --- a/sonic-slave-stretch/Dockerfile.j2 +++ b/sonic-slave-stretch/Dockerfile.j2 @@ -354,7 +354,7 @@ RUN pip3 install "lxml==4.6.2" # For sonic-platform-common testing -RUN pip3 install redis +RUN pip3 install redis==3.5.3 # For vs image build RUN pip2 install pexpect==4.6.0