Skip to content

Commit 69ef456

Browse files
jipanyanglguohan
authored andcommitted
[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 <[email protected]>
1 parent f3afaea commit 69ef456

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

dockers/docker-orchagent/Dockerfile.j2

+3-2
Original file line numberDiff line numberDiff line change
@@ -10,14 +10,15 @@ RUN apt-get update
1010

1111
RUN apt-get install -f -y ifupdown arping libdbus-1-3 libdaemon0 libjansson4 libpython2.7 iproute2
1212

13-
RUN apt-get install -f -y ndisc6 tcpdump python-scapy
13+
RUN apt-get install -f -y ndisc6 tcpdump
14+
RUN pip install scapy==2.4.2
1415
## Install redis-tools dependencies
1516
## TODO: implicitly install dependencies
1617
RUN apt-get -y install libjemalloc1
1718

1819
RUN apt-get install -y libelf1 libmnl0 bridge-utils
1920

20-
RUN pip install setuptools
21+
RUN pip install setuptools
2122
RUN pip install pyroute2==0.5.3 netifaces==0.10.7
2223
RUN pip install monotonic==1.5
2324

0 commit comments

Comments
 (0)