-
Notifications
You must be signed in to change notification settings - Fork 0
/
Dockerfile-custom-builds
140 lines (119 loc) · 3.67 KB
/
Dockerfile-custom-builds
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
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
FROM custom/sdr-apps:latest
ENV DEBIAN_FRONTEND=noninteractive
USER root
RUN apt update
################################################################################
RUN apt install -y gnuradio-dev \
libvolk-dev \
pybind11-dev \
libsndfile1-dev
RUN cd && \
git clone https://github.com/muccc/gr-iridium.git && \
cd gr-iridium && \
git checkout f90bc7d && \
mkdir build && \
cd build && \
cmake -DCMAKE_INSTALL_PREFIX=/usr .. && \
make clean && \
make -j8 install
################################################################################
# https://github.com/bastibl/gr-ieee802-15-4.git
RUN cd && \
git clone https://github.com/bastibl/gr-ieee802-15-4.git && \
cd gr-ieee802-15-4 && \
git checkout maint-3.10 && \
mkdir build && \
cd build && \
cmake -DCMAKE_INSTALL_PREFIX=/usr .. && \
make clean && \
make -j8 install
################################################################################
RUN apt install -y libboost-dev \
libitpp-dev \
libboost-date-time-dev \
libboost-filesystem-dev \
libboost-program-options-dev \
libboost-system-dev \
libboost-thread-dev \
libboost-regex-dev \
libboost-test-dev \
swig \
cmake \
build-essential \
pkg-config \
gnuradio-dev \
libconfig++-dev \
libgmp-dev \
liborc-0.4-0 \
liborc-0.4-dev \
liborc-0.4-dev-bin \
nlohmann-json3-dev \
libpng++-dev \
libvorbis-dev \
git \
libhamlib-dev \
libhamlib++-dev \
libgsl-dev
RUN cd && \
git clone https://gitlab.com/librespacefoundation/satnogs/gr-satnogs.git && \
cd gr-satnogs && \
git checkout gnuradio-3.10 && \
git submodule init && \
git submodule update && \
mkdir build && \
cd build && \
cmake -DCMAKE_INSTALL_PREFIX=/usr .. && \
make clean && \
make -j8 install
################################################################################
RUN cd && \
git clone https://github.com/DIFI-Consortium/gr-difi.git && \
cd gr-difi && \
mkdir build && \
cd build && \
cmake -DCMAKE_INSTALL_PREFIX=/usr .. && \
make clean && \
make -j8 install
################################################################################
RUN cd && \
git clone https://github.com/radioconda/gr-inspector.git && \
cd gr-inspector && \
mkdir build && \
cd build && \
cmake -DCMAKE_INSTALL_PREFIX=/usr .. && \
make clean && \
make -j8 install
################################################################################
RUN cd && \
git clone https://github.com/tapparelj/gr-lora_sdr.git && \
cd gr-lora_sdr && \
mkdir build && cd build && \
cmake -DCMAKE_INSTALL_PREFIX=/usr .. && \
make clean && \
make -j8 install
################################################################################
RUN cd && \
git clone https://github.com/daniestevez/gr-satellites.git && \
cd gr-satellites && \
git checkout maint-3.10 && \
mkdir build && \
cd build && \
cmake -DCMAKE_INSTALL_PREFIX=/usr .. && \
make clean && \
make -j8 install
################################################################################
RUN cd && \
git clone https://github.com/karel/gr-adapt.git && \
cd gr-adapt && \
mkdir build && \
cd build && \
cmake -DCMAKE_INSTALL_PREFIX=/usr .. && \
make clean && \
make -j8 install
################################################################################
RUN userdel -r ubuntu
RUN mkdir /home/gnuradio
RUN useradd --uid 1000 -m gnuradio -d /home/gnuradio
RUN chown -R gnuradio /home/gnuradio
RUN apt-get clean
USER gnuradio