From 69ef456efdf7ae635cbfdc475ecc5f7c4f5c14df Mon Sep 17 00:00:00 2001 From: Jipan Yang Date: Thu, 4 Apr 2019 21:18:38 -0700 Subject: [PATCH] [swss]: Update to debian python-scapy (2.4.2) to fix scapy crash seen with 2.3.3-1 (#2745) * Fix scapy crash problem with pip scapy (2.4.2) Signed-off-by: Jipan Yang --- dockers/docker-orchagent/Dockerfile.j2 | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/dockers/docker-orchagent/Dockerfile.j2 b/dockers/docker-orchagent/Dockerfile.j2 index 05ef95991504..d29ea6a8905a 100755 --- a/dockers/docker-orchagent/Dockerfile.j2 +++ b/dockers/docker-orchagent/Dockerfile.j2 @@ -10,14 +10,15 @@ RUN apt-get update RUN apt-get install -f -y ifupdown arping libdbus-1-3 libdaemon0 libjansson4 libpython2.7 iproute2 -RUN apt-get install -f -y ndisc6 tcpdump python-scapy +RUN apt-get install -f -y ndisc6 tcpdump +RUN pip install scapy==2.4.2 ## Install redis-tools dependencies ## TODO: implicitly install dependencies RUN apt-get -y install libjemalloc1 RUN apt-get install -y libelf1 libmnl0 bridge-utils -RUN pip install setuptools +RUN pip install setuptools RUN pip install pyroute2==0.5.3 netifaces==0.10.7 RUN pip install monotonic==1.5