-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathDockerfile
39 lines (31 loc) · 1.57 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
# latest is the latest LTS
FROM ubuntu:20.04
# Getting ready
RUN apt-get update
RUN apt-get install -y software-properties-common
RUN add-apt-repository ppa:gnuradio/gnuradio-releases
RUN apt-get update
RUN DEBIAN_FRONTEND="noninteractive" apt-get -y install tzdata
# UHD
RUN apt-get install -y libuhd-dev uhd-host
# GNU Radio and SDR support
RUN apt-get install -y gir1.2-gtk-3.0
RUN apt-get install -y gnuradio gnuradio-dev gr-osmosdr libhackrf-dev libuhd-dev
RUN apt-get install -y git cmake build-essential libboost-all-dev libusb-1.0-0.dev libssl-dev libcurl4-openssl-dev
RUN apt-get install -y ca-certificates expat libgomp1 fdkaac sox
# Having an editor is handy but I can't seem to get it to be 'default'. I think gnome is pseudo-missing in this base
RUN DEBIAN_FRONTEND="noninteractive" apt-get install -y featherpad
# RUN echo "VISUAL=\"/usr/bin/featherpad\"" > ~/.bashrc
# RUN echo "EDITOR=\"/usr/bin/featherpad\"" >> ~/.bashrc
# RUN echo "[Default Applications]" > /usr/share/applications/defaults.list
# RUN echo "text/x-python=featherpad.desktop;" >> /usr/share/applications/defaults.list
# RUN echo "text/plain=featherpad.desktop;" >> /usr/share/applications/defaults.list
# RUN echo "[Added Associations]" >> /usr/share/applications/defaults.list
# RUN echo "text/x-python=featherpad.desktop;" >> /usr/share/applications/defaults.list
# RUN echo "text/plain=featherpad.desktop;" >> /usr/share/applications/defaults.list
RUN apt-get autoremove -y && \
apt-get clean -y && \
rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/*
CMD ["gnuradio-companion"]
# For testing
# CMD ["/bin/bash"]