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