[docker-ptf]: Add less, ipython, and python ssh libraries (#625)

This commit is contained in:
pavel-shirshov 2017-05-24 01:34:37 -07:00 committed by lguohan
parent 9669fa8e08
commit 867670665f

View File

@ -41,6 +41,7 @@ RUN sed --in-place 's/httpredir.debian.org/debian-archive.trafficmanager.net/' /
cmake \ cmake \
libqt5core5a \ libqt5core5a \
libqt5network5 \ libqt5network5 \
less \
iputils-ping iputils-ping
@ -70,6 +71,9 @@ RUN rm -rf /debs \
&& pip install dpkt \ && pip install dpkt \
&& pip install ipaddress \ && pip install ipaddress \
&& pip install pysubnettree \ && pip install pysubnettree \
&& pip install 'ipython<6.0' \
&& pip install paramiko \
&& pip install parallel-ssh \
&& mkdir -p /opt \ && mkdir -p /opt \
&& cd /opt \ && cd /opt \
&& wget https://raw.githubusercontent.com/p4lang/ptf/master/ptf_nn/ptf_nn_agent.py && wget https://raw.githubusercontent.com/p4lang/ptf/master/ptf_nn/ptf_nn_agent.py