forked from igorauad/gr-dvbs2rx
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Dockerfile
29 lines (29 loc) · 1.06 KB
/
Dockerfile
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
ARG cmake_args
FROM igorfreire/gnuradio-oot-dev:3.10.7.0-ubuntu-jammy
RUN apt-get install -y libusb-1.0-0-dev libosmosdr-dev libsndfile1-dev \
python3-packaging
RUN git clone https://github.com/osmocom/rtl-sdr.git && \
cd rtl-sdr/ && mkdir build && cd build/ && \
cmake -DINSTALL_UDEV_RULES=ON -DDETACH_KERNEL_DRIVER=ON .. && \
cmake --build . && \
cmake --install . && \
cd ../../ && rm -r rtl-sdr/
RUN git clone https://github.com/osmocom/gr-osmosdr && \
cd gr-osmosdr/ && \
mkdir build && cd build && \
cmake -DENABLE_DOXYGEN=OFF .. && \
cmake --build . -j$(nproc) && \
cmake --install . && \
ldconfig && \
cd ../../ && rm -r gr-osmosdr/
RUN add-apt-repository -y ppa:blockstream/satellite && \
apt install -y tsduck
ADD . /src/gr-dvbs2rx/
RUN cd /src/gr-dvbs2rx/ && \
git clone https://github.com/google/cpu_features.git && \
mkdir build && cd build && \
cmake -DENABLE_DOXYGEN=OFF $cmake_args .. && \
cmake --build . -j$(nproc) && \
cmake --install . && \
ldconfig && \
cd ../../ && rm -r gr-dvbs2rx/