forked from IQTLabs/gamutRF
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathDockerfile.gnuradio-deps
49 lines (49 loc) · 1.37 KB
/
Dockerfile.gnuradio-deps
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
FROM ubuntu:22.04
RUN apt-get update && apt-get install -y --no-install-recommends software-properties-common && \
apt-get -y --no-install-recommends install \
build-essential \
cmake \
g++ \
gcc \
git \
libbladerf-dev \
libboost-all-dev \
libev-dev \
libfftw3-dev \
libgmp-dev \
libgsl-dev \
liblimesuite-dev \
liblog4cpp5-dev \
libpython3-dev \
libspdlog-dev \
libthrift-dev \
libuhd-dev \
libunwind-dev \
libusb-1.0-0-dev \
libusb-1.0-0 \
make \
netcat \
pkg-config \
python3-bladerf \
python3-mako \
python3-numpy \
python3-packaging \
python3-pip \
python3-pygccxml \
python3-uhd \
swig \
uhd-host \
wget
RUN /usr/lib/uhd/utils/uhd_images_downloader.py -t "b2|usb"
WORKDIR /root
# https://wiki.gnuradio.org/index.php/GNU_Radio_3.9_OOT_Module_Porting_Guide
RUN wget -q -O- https://github.com/pybind/pybind11/archive/v2.5.0.tar.gz |tar -zxvf -
RUN git clone https://github.com/gnuradio/volk -b v2.5.1
RUN git clone https://github.com/pothosware/SoapySDR -b soapy-sdr-0.8.1
WORKDIR /root/pybind11-2.5.0/build
RUN cmake -DPYBIND11_TEST="" .. && make -j "$(nproc)" && make install
WORKDIR /root/volk/build
RUN git submodule update --init
RUN cmake .. && make -j "$(nproc)" && make install
WORKDIR /root/SoapySDR/build
RUN cmake .. && make -j "$(nproc)" && make install