-
Notifications
You must be signed in to change notification settings - Fork 0
/
Dockerfile
27 lines (22 loc) · 908 Bytes
/
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
ARG ARCH=
FROM tclarke/gnuradio:${ARCH}
RUN mkdir -p /src
WORKDIR /src
RUN apt-get -y remove libbladerf-dev libbladerf1
RUN git clone https://github.com/Nuand/bladeRF.git && \
cd bladeRF && \
git checkout 2021.03 && \
mkdir build && \
cd build && \
cmake -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_PREFIX=/usr ../ && \
make -j3 install
RUN git clone https://github.com/osmocom/gr-osmosdr.git && \
mkdir gr-osmosdr/build && \
cd gr-osmosdr/build && \
cmake -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_PREFIX=/usr ../ && \
make -j3 install
RUN rm -rf bladeRF gr-osmosdr && mkdir /bladeRF-images && cd /bladeRF-images && \
wget https://www.nuand.com/fpga/hostedxA4-latest.rbf && \
wget https://www.nuand.com/fpga/hostedxA9-latest.rbf && \
wget https://www.nuand.com/fpga/hostedx40-latest.rbf && \
wget https://www.nuand.com/fpga/hostedx115-latest.rbf