Able to run uhd_usrp_probe in container

This commit is contained in:
30hours 2024-01-12 07:17:48 +00:00
parent ca3aee9877
commit 37bdf731d4
2 changed files with 2 additions and 1 deletions

View file

@ -38,6 +38,8 @@ RUN git clone -b v4.6.0.0 --depth 1 https://github.com/EttusResearch/uhd /opt/uh
-DENABLE_USRP2=OFF -DENABLE_OCTOCLOCK=OFF \
-DENABLE_MANUAL=OFF -DENABLE_DOXYGEN=OFF -DENABLE_MAN_PAGES=OFF \
-DENABLE_DPDK=OFF ../ && make && make install && ldconfig
ENV LD_LIBRARY_PATH=/opt/uhd/lib:$LD_LIBRARY_PATH
RUN /opt/uhd/lib/uhd/utils/uhd_images_downloader.py
FROM blah2_env as blah2
LABEL maintainer="30hours <nathan@30hours.dev>"

View file

@ -19,7 +19,6 @@ services:
- /opt/blah2/save:/blah2/save
- /dev/shm:/dev/shm
- /dev/usb:/dev/usb
- /proc:/proc
network_mode: host
privileged: true
command: >