From 74695747ab432375efa4ac6ef9c0893715da502f Mon Sep 17 00:00:00 2001 From: Isabella J de Leon Date: Mon, 27 Mar 2023 14:40:30 -0700 Subject: [PATCH] [Build] Fix marvell-arm64 build redis_dump_load-1.1-py2-none-any.whl fail (#14375) #### Why I did it Fixes #9216 #### How I did it Add support for python2 redis to the sonic-slave-stretch and sonic-slave-buster Dockerfiles #### How to verify it Run build steps documented in Issue #9216 --- sonic-slave-buster/Dockerfile.j2 | 1 + sonic-slave-stretch/Dockerfile.j2 | 1 + 2 files changed, 2 insertions(+) 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