mirror of
https://github.com/jopohl/urh.git
synced 2026-03-16 13:16:47 +01:00
29 lines
823 B
Plaintext
29 lines
823 B
Plaintext
FROM ubuntu:14.04
|
|
|
|
RUN apt-get update
|
|
RUN apt-get -y dist-upgrade
|
|
RUN apt-get -y install python3-numpy python3-pyqt5 git g++ libpython3-dev
|
|
|
|
ADD run.sh /bin/run.sh
|
|
RUN chmod +x /bin/run.sh
|
|
|
|
# Icons are optional but look nice
|
|
RUN apt-get -y install oxygen-icon-theme-complete
|
|
|
|
# Install HackRF
|
|
RUN apt-get -y install build-essential cmake libusb-1.0-0-dev liblog4cpp5-dev libboost-dev libboost-system-dev libboost-thread-dev libboost-program-options-dev swig pkg-config
|
|
WORKDIR /tmp
|
|
RUN git clone https://github.com/mossmann/hackrf.git
|
|
WORKDIR /tmp/hackrf/host
|
|
RUN mkdir build
|
|
WORKDIR /tmp/hackrf/host/build
|
|
RUN cmake ../ -DINSTALL_UDEV_RULES=ON
|
|
RUN make -j4
|
|
RUN make install
|
|
RUN ldconfig
|
|
|
|
# Install Gnuradio - Doesnt work fails with package uhd-host
|
|
# RUN apt-get -y install gnuradio gnuradio-dev gr-iqbal
|
|
|
|
CMD /bin/run.sh
|