使用外部插件为Gnuradio构建Docker
Docker的意图是:
- 为了允许Gnuradio运行时稳定的环境。
- 为了允许用户一种简单的方法来构建Gnuradio OTT模块而不弄乱其日常系统。
- 为了允许OTT模块开发人员从先前版本的Gnuradio移植时一个简单的环境。
用途
- 使用Ubuntu 24.04作为基础。
- gnuradio 3.10(来自Ubuntu Repo)
测试的SDR HW
- hackrf一个。
在Ubuntu 24.04软件包中,仍应适用于启用OSMOCOM的所有驱动程序。
目前已编译Gnuradio模块
- gr-lora_sdr(https://github.com/tapparelj/gr-lora_sdr)
- gr-satellites(https://github.com/daniestevez/gr-satellites)
- gr-adapt(https://github.com/karel/gr-adapt)
- GR-Inspector(https://github.com/radioconda/gr-inspector)
- gr-difi(https://github.com/difi-consortium/gr-difi.git)
- gr-satnogs(https://gitlab.com/librespacefoundation/satnogs/gr-satnogs/-/tree/gnuradio-3.10?ref_type=heads)
- gr-ieee802-15-4(https://github.com/bastibl/gr-ieee802-15-4.git)
- gr-iridium(https://github.com/muccc/gr-iridium.git)
(随时发送任何添加的公关)
来自Ubuntu Repo中的OTT模块
- GR-Air-Modes
- GR-Fosphor
- gr-funcube
- GR-GSM
- gr-hpsdr
- gr-iqbal
- gr-limesdr
- gr-osmosdr
- Gr-Radar
- GR-RDS
Dockerfiles
- Dockerfile-ubuntu-base-Ubuntu基础和要求
- dockerfile-sdr-apps-来自Ubuntu-Repo的SDR相关软件包。
- dockerfile-custom-builds- gnuradio组件的源代码构建。
构建Docker-image
$ ./docker_build.sh
运行图像
$ ./docker_run.sh
设置模块路径
在开始Gnuradio-Companion之前,必须在目前手动设置模块路径。
$ Export PythonPath =/usr/lib/python3.12/dist-packages:/usr/lib/python3.12/site-packages:$ pythonpath
共享文件夹。
- 在主机上创建 /home /gnuradio,并将其作为容器和主机之间的共享存储。允许在构建/会话之间保存gnuradio设置等。
- AS /HOME /GNURADIO已设置为共享,如果您更新“ DockerFile-Custom-Builds”,并将UID设置为与普通用户相同的UID,则可以使生活更轻松。
托多的
- github动作以构建Docker图像。
- gnuradio示例
- 某种类型的设置可以运行网络访问的内容,例如https://github.com/gnuradio/gr-bokehgui
- 将要包含在Docker-image中的内容拆分,并使每个源代码模块安装其自己的依赖项。