Ash Wilson | 9afa2c7 | 2016-02-21 09:56:04 -0800 | [diff] [blame] | 1 | FROM kalilinux/kali-linux-docker |
| 2 | MAINTAINER Ash Wilson |
| 3 | |
| 4 | |
| 5 | # We know it's going to foul up, so we run this install separately and then ...fix... dpkg status |
| 6 | RUN apt-get update && apt-get install -y uhd-host || \ |
| 7 | sed -i "s/Status: install ok half-configured/Status: install ok installed/g" /var/lib/dpkg/status |
| 8 | |
| 9 | |
| 10 | RUN apt-get update && apt-get install -y \ |
| 11 | git \ |
| 12 | python \ |
| 13 | python-scipy \ |
| 14 | cmake \ |
| 15 | make \ |
| 16 | autoconf \ |
| 17 | automake \ |
| 18 | cpp-4.9 \ |
| 19 | gcc \ |
| 20 | g++ \ |
| 21 | libstdc++-4.9-dev \ |
| 22 | libcppunit-dev \ |
| 23 | swig \ |
| 24 | swig2.0 \ |
| 25 | doxygen \ |
Ash Wilson | 9afa2c7 | 2016-02-21 09:56:04 -0800 | [diff] [blame] | 26 | liblog4cpp5-dev \ |
| 27 | build-essential \ |
| 28 | libtool \ |
| 29 | shtool \ |
| 30 | pkg-config \ |
| 31 | libpcsclite-dev \ |
| 32 | gnuradio \ |
| 33 | gnuradio-dev \ |
| 34 | gr-osmosdr \ |
| 35 | libfftw3-dev \ |
| 36 | libusb-1.0-0-dev \ |
Ash Wilson | 10ee8bd | 2016-02-21 10:09:38 -0800 | [diff] [blame^] | 37 | libvolk1-dev \ |
| 38 | libvolk1.1 \ |
Ash Wilson | 9afa2c7 | 2016-02-21 09:56:04 -0800 | [diff] [blame] | 39 | libboost-all-dev \ |
Ash Wilson | 10ee8bd | 2016-02-21 10:09:38 -0800 | [diff] [blame^] | 40 | libgnuradio-osmosdr0.1.4 \ |
Ash Wilson | 9afa2c7 | 2016-02-21 09:56:04 -0800 | [diff] [blame] | 41 | libmirisdr0 \ |
| 42 | libosmosdr-dev \ |
| 43 | libosmosdr0 \ |
| 44 | librtlsdr-dev \ |
| 45 | librtlsdr0 \ |
| 46 | osmo-sdr \ |
| 47 | rtl-sdr \ |
| 48 | wget \ |
| 49 | python-talloc-dev \ |
| 50 | libtalloc2 \ |
| 51 | libtalloc-dev \ |
| 52 | unzip \ |
| 53 | libosmocore \ |
| 54 | libosmocore-dev |
| 55 | |
| 56 | COPY ./ /src/ |
| 57 | |
| 58 | RUN mkdir /root/.gnuradio/ |
| 59 | RUN echo "[grc]\nlocal_blocks_path=/usr/local/share/gnuradio/grc/blocks" > \ |
| 60 | /root/.gnuradio/config.conf |
| 61 | |
| 62 | RUN mkdir /src/build && \ |
| 63 | cd /src/build && \ |
| 64 | cmake .. && \ |
| 65 | make && \ |
| 66 | make test && \ |
| 67 | make install && \ |
| 68 | ldconfig |