-
Notifications
You must be signed in to change notification settings - Fork 0
/
Dockerfile
65 lines (57 loc) · 1.15 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
61
62
63
64
65
FROM ubuntu:latest
RUN apt-get update -qq
RUN apt-get install --no-install-recommends -y -qq \
git \
build-essential \
cmake \
pkg-config \
# rtl_sdr
libusb-1.0-0-dev \
# DSD
wget \
libsndfile1-dev \
fftw3-dev \
liblapack-dev \
portaudio19-dev \
# utils
socat
# rtl-sdr
WORKDIR /tmp
RUN git clone git://git.osmocom.org/rtl-sdr.git
WORKDIR rtl-sdr
RUN mkdir build
WORKDIR build
RUN cmake ..
RUN make
RUN make install
# IT++
WORKDIR /tmp
RUN wget --no-verbose -O itpp-latest.tar.bz2 http://sourceforge.net/projects/itpp/files/latest/download?source=files
RUN tar xjf itpp-latest.tar.bz2
RUN cd itpp-* && \
mkdir build && \
cd build && \
cmake .. && \
make .. && \
make install
# mbelib
WORKDIR /tmp
RUN git clone git://github.com/szechyjs/mbelib
WORKDIR mbelib
RUN mkdir mbelib
WORKDIR build
RUN cmake ..
RUN make
RUN make install
# DSD
WORKDIR /tmp
RUN git clone git://github.com/szechyjs/dsd
WORKDIR dsd
RUN mkdir dsd
WORKDIR build
RUN cmake ..
RUN make
RUN make install
RUN ldconfig
WORKDIR /
CMD socat UDP-RECV:7355 - | dsd -q -i /dev/stdin -o /dev/stdout | socat - UDP-SENDTO:127.0.0.1:7356