[BUG] Remove dependence on `lspci` to enable distroless containers
tlehman opened this issue · comments
Problem
Currently, pcidevices controller is built on an Alpine Linux container. It is not possible to make it a distroless container the way it currently works.
Solution
Replace using os/exec
on the lspci
command with the jaypipes/pci
library.