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 committed Mar 2, 2023
1 parent b7ef7fc commit f1ea4c4
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion dockers/docker-platform-monitor/Dockerfile.j2
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,8 @@ RUN apt-get update && \
i2c-tools \
psmisc \
python3-jsonschema \
libpci3
libpci3 \
pciutils

# TODO: Remove these lines once we no longer need Python 2
RUN apt-get install -f -y python-dev python-pip
Expand All @@ -48,6 +49,9 @@ RUN pip2 install enum34
RUN pip2 install thrift==0.13.0
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 f1ea4c4

Please sign in to comment.