-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathDockerfile
44 lines (34 loc) · 1.14 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
FROM debian:latest
# Supporting packages
RUN echo "keyboard-configuration keyboard-configuration/layoutcode string en" | debconf-set-selections && \
apt-get update && \
apt-get install -y git \
pulseaudio \
xserver-xorg-video-all \
libgl1-mesa-glx \
libgl1-mesa-dri
# Get build dependencies
RUN apt-get update && \
apt-get install -y gnuradio-dev \
cmake \
qtdeclarative5-dev \
libpulse-dev \
libqt5svg5-dev \
gr-osmosdr \
libasound2-dev \
libjack-dev \
libasound-dev \
libportaudio2 \
portaudio19-dev
# Clone gqrx source
RUN mkdir -p /opt/gqrx && \
cd /opt/gqrx && \
git clone https://github.com/csete/gqrx.git src && \
mkdir /opt/gqrx/src/build
# Build and install
RUN cd /opt/gqrx/src/build && \
cmake .. && \
make && \
make install
ENV PULSE_SERVER /run/pulse/native
CMD ["/usr/local/bin/gqrx"]