Skip to content

Commit

Permalink
Added libpci and pciutils to the pmon docker (sonic-net#12684)
Browse files Browse the repository at this point in the history
This enables the pcied daemon to call the corresponding system commands needed for pci transactions
  • Loading branch information
assrinivasan authored and mssonicbld committed Feb 21, 2023
1 parent d1d5bce commit 8331594
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions dockers/docker-platform-monitor/Dockerfile.j2
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand All @@ -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/") }}
Expand Down

0 comments on commit 8331594

Please sign in to comment.