Skip to content

Commit

Permalink
Upgrade python package redis>=3.5.0 for Deb10 (opencomputeproject#212)
Browse files Browse the repository at this point in the history
Signed-off-by: Andriy Kokhan <andriy.kokhan@plvision.eu>
  • Loading branch information
andriy-kokhan authored Oct 4, 2023
1 parent 9fbc878 commit f7641ee
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 6 deletions.
4 changes: 2 additions & 2 deletions dockerfiles/buster/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -30,10 +30,10 @@ RUN apt-get -o Acquire::Check-Valid-Until=false update && apt-get install -y \
supervisor

# Add support for supervisord to handle startup dependencies
RUN pip3 install supervisord-dependent-startup==1.4.0
RUN pip3 install supervisord-dependent-startup==1.4.0 redis>=3.5.0

# Install dependencies
RUN apt-get install -y redis-server libhiredis0.14 python3-redis libc-ares2
RUN apt-get install -y redis-server libhiredis0.14 libc-ares2

# Install sonic-swss-common & sonic-sairedis building dependencies
RUN apt-get install -y \
Expand Down
3 changes: 1 addition & 2 deletions dockerfiles/buster/Dockerfile.client
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,6 @@ RUN apt-get -o Acquire::Check-Valid-Until=false update && apt-get install -y \
build-essential \
python3 \
python3-pip \
python3-redis \
iproute2 \
rsyslog \
supervisor \
Expand Down Expand Up @@ -64,7 +63,7 @@ RUN git clone https://github.com/opencomputeproject/SAI.git \
&& rm -rf /sai/SAI

# Install SAI-C dependencies
RUN pip3 install pytest pytest_dependency pytest-html aenum pdbpp macaddress click==8.0
RUN pip3 install pytest pytest_dependency pytest-html aenum pdbpp macaddress click==8.0 redis>=3.5.0

ARG NOSNAPPI
RUN if [ "$NOSNAPPI" != "y" ]; then \
Expand Down
4 changes: 2 additions & 2 deletions dockerfiles/buster/Dockerfile.server
Original file line number Diff line number Diff line change
Expand Up @@ -30,10 +30,10 @@ RUN apt-get -o Acquire::Check-Valid-Until=false update && apt-get install -y \
supervisor

# Add support for supervisord to handle startup dependencies
RUN pip3 install supervisord-dependent-startup==1.4.0
RUN pip3 install supervisord-dependent-startup==1.4.0 redis>=3.5.0

# Install dependencies
RUN apt-get install -y redis-server libhiredis0.14 python3-redis libc-ares2
RUN apt-get install -y redis-server libhiredis0.14 libc-ares2

# Install sonic-swss-common & sonic-sairedis building dependencies
RUN apt-get install -y \
Expand Down

0 comments on commit f7641ee

Please sign in to comment.