-
Notifications
You must be signed in to change notification settings - Fork 1
/
Dockerfile
61 lines (37 loc) · 1.12 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
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
FROM ubuntu
# upgrade image
RUN apt-get update
RUN apt-get upgrade -y
# install add-apt-repository command
RUN apt-get install -y software-properties-common linux-headers-generic
# RTL-SDR dependancies
RUN apt-get install -y rtl-sdr librtlsdr-dev
# bladerf dependancies
RUN add-apt-repository ppa:bladerf/bladerf
RUN apt-get update
RUN apt-get install -y bladerf libbladerf-dev bladerf-firmware-fx3 bladerf-fpga-hostedx40 bladerf-fpga-hostedx115
# bladerf check
RUN bladeRF-cli --version
# install GNU radio
RUN apt-get install -y gnuradio python-zmq
# GNU radio check
RUN uhd_fft --help
RUN uhd_rx_cfile --help
RUN uhd_rx_nogui --help
# gqrx install
RUN apt-get install -y gqrx-sdr
# osmocom install
RUN apt-get install -y gr-osmosdr
# osmocom check
RUN whereis osmocom_fft
RUN whereis osmocom_siggen
# install Universal Radio Hacker
RUN apt-get install -y python3-numpy python3-psutil python3-zmq python3-pyqt5 g++ libpython3-dev python3-pip
RUN pip3 install urh
# clean / optimise docker size
RUN apt-get autoremove -y
RUN apt-get clean
RUN rm -rf /var/lib/apt/lists/*
RUN rm -rf /tmp/* /var/tmp/*
# running
ENTRYPOINT urh