Add gdb and pyrasite to ptf image (#8816)
This commit is contained in:
parent
ee9250e8cc
commit
38500fa92e
4
.gitignore
vendored
4
.gitignore
vendored
@ -82,3 +82,7 @@ files/build/tmp
|
|||||||
dockers/**/buildinfo
|
dockers/**/buildinfo
|
||||||
platform/**/buildinfo
|
platform/**/buildinfo
|
||||||
sonic-slave*/**/buildinfo
|
sonic-slave*/**/buildinfo
|
||||||
|
|
||||||
|
# Dev tools
|
||||||
|
.vscode/
|
||||||
|
.idea/
|
||||||
|
@ -57,7 +57,8 @@ RUN sed --in-place 's/httpredir.debian.org/debian-archive.trafficmanager.net/' /
|
|||||||
ntpdate \
|
ntpdate \
|
||||||
arping \
|
arping \
|
||||||
bridge-utils \
|
bridge-utils \
|
||||||
libteam-utils
|
libteam-utils \
|
||||||
|
gdb
|
||||||
|
|
||||||
# Install all python modules from pypi. python-scapy is exception, ptf debian package requires python-scapy
|
# Install all python modules from pypi. python-scapy is exception, ptf debian package requires python-scapy
|
||||||
# TODO: Clean up this step
|
# TODO: Clean up this step
|
||||||
@ -106,6 +107,7 @@ RUN rm -rf /debs \
|
|||||||
&& pip install pyaml \
|
&& pip install pyaml \
|
||||||
&& pip install pybrctl pyro4 rpyc yabgp \
|
&& pip install pybrctl pyro4 rpyc yabgp \
|
||||||
&& pip install unittest-xml-reporting \
|
&& pip install unittest-xml-reporting \
|
||||||
|
&& pip install pyrasite \
|
||||||
&& 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
|
||||||
|
Reference in New Issue
Block a user