diff --git a/dockers/docker-config-engine-bullseye/Dockerfile.j2 b/dockers/docker-config-engine-bullseye/Dockerfile.j2 index f7e0de09b9f6..84c4df100ec5 100644 --- a/dockers/docker-config-engine-bullseye/Dockerfile.j2 +++ b/dockers/docker-config-engine-bullseye/Dockerfile.j2 @@ -23,6 +23,9 @@ RUN apt-get install -y \ RUN pip3 install pyangbind==0.8.1 RUN pip3 uninstall -y enum34 +# Install python-redis +RUN pip3 install redis==4.5.4 + {% if docker_config_engine_bullseye_debs.strip() %} # Copy locally-built Debian package dependencies {{ copy_files("debs/", docker_config_engine_bullseye_debs.split(' '), "/debs/") }} diff --git a/dockers/docker-config-engine-buster/Dockerfile.j2 b/dockers/docker-config-engine-buster/Dockerfile.j2 index 77ea27e00ee3..9b8fefeed9f2 100644 --- a/dockers/docker-config-engine-buster/Dockerfile.j2 +++ b/dockers/docker-config-engine-buster/Dockerfile.j2 @@ -23,6 +23,9 @@ RUN apt-get install -y \ RUN pip3 install pyangbind==0.8.1 RUN pip3 uninstall -y enum34 +# Install python-redis +RUN pip3 install redis==4.5.4 + {% if docker_config_engine_buster_debs.strip() %} # Copy locally-built Debian package dependencies {{ copy_files("debs/", docker_config_engine_buster_debs.split(' '), "/debs/") }} diff --git a/dockers/docker-config-engine-stretch/Dockerfile.j2 b/dockers/docker-config-engine-stretch/Dockerfile.j2 index a0d5eaedde49..c98e90ab4d91 100644 --- a/dockers/docker-config-engine-stretch/Dockerfile.j2 +++ b/dockers/docker-config-engine-stretch/Dockerfile.j2 @@ -10,6 +10,9 @@ RUN apt-get update && \ build-essential \ python-dev +# Install python-redis +RUN pip install redis>=3.5.3 + {%- if CONFIGURED_ARCH == "armhf" or CONFIGURED_ARCH == "arm64" %} RUN apt-get install -y \ libxslt-dev \ diff --git a/dockers/docker-config-engine/Dockerfile.j2 b/dockers/docker-config-engine/Dockerfile.j2 index ccc4290b951b..c470102fa4c4 100644 --- a/dockers/docker-config-engine/Dockerfile.j2 +++ b/dockers/docker-config-engine/Dockerfile.j2 @@ -8,6 +8,9 @@ RUN apt-get update # Dependencies for sonic-cfggen RUN apt-get install -y build-essential python-dev +# Install python-redis +RUN pip install redis>=3.5.3 + {% if docker_config_engine_debs.strip() %} COPY \ {% for deb in docker_config_engine_debs.split(' ') -%}