[docker-ptf]: Overwrite ubuntu scapy with version from p4lang (#639)

* Install scapy from p4lang

* Overwrite standard scapy version
This commit is contained in:
pavel-shirshov 2017-05-26 18:32:52 -07:00 committed by lguohan
parent e6bb4b20a1
commit 122c03caee

View File

@ -43,8 +43,11 @@ RUN sed --in-place 's/httpredir.debian.org/debian-archive.trafficmanager.net/' /
libqt5network5 \ libqt5network5 \
less \ less \
ipython \ ipython \
git \
iputils-ping iputils-ping
## Reinstall scapy by version from p4lang
RUN git clone https://github.com/p4lang/scapy-vxlan.git && cd scapy-vxlan && python setup.py install
RUN dpkg -i \ RUN dpkg -i \
{% for deb in docker_ptf_debs.split(' ') -%} {% for deb in docker_ptf_debs.split(' ') -%}