mirror of
https://github.com/30hours/blah2.git
synced 2024-11-08 12:25:42 +00:00
Able to run uhd_usrp_probe in container
This commit is contained in:
parent
ca3aee9877
commit
37bdf731d4
2 changed files with 2 additions and 1 deletions
|
@ -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>"
|
||||
|
|
|
@ -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: >
|
||||
|
|
Loading…
Reference in a new issue