Added libpci and pciutils to the pmon docker (#12684)

This enables the pcied daemon to call the corresponding system commands needed for pci transactions
This commit is contained in:
Ashwin Srinivasan 2022-11-14 11:44:36 -08:00 committed by mssonicbld
parent 8b5a42794d
commit 57139110ca

View File

@ -27,6 +27,7 @@ RUN apt-get update && \
python3-jsonschema \
libpci3 \
iputils-ping \
pciutils \
# smartmontools version should match the installed smartmontools in sonic_debian_extension build template
smartmontools=7.2-1
@ -41,6 +42,9 @@ RUN pip3 install grpcio==1.39.0 \
# Barefoot platform vendors' sonic_platform packages import the Python 'thrift' library
RUN pip3 install thrift==0.13.0
# We install the libpci module in order to be able to do PCI transactions
RUN pip3 install libpci
{% if docker_platform_monitor_debs.strip() -%}
# Copy locally-built Debian package dependencies
{{ copy_files("debs/", docker_platform_monitor_debs.split(' '), "/debs/") }}