Piotr Krysik | 1d42544 | 2016-04-13 12:26:41 +0200 | [diff] [blame] | 1 | FROM debian:testing |
| 2 | |
| 3 | # We know it's going to foul up, so we run this install separately and then ...fix... dpkg status |
| 4 | RUN apt-get update && apt-get install -y uhd-host || \ |
| 5 | sed -i "s/Status: install ok half-configured/Status: install ok installed/g" /var/lib/dpkg/status |
| 6 | |
| 7 | RUN apt-get install -y \ |
| 8 | git \ |
| 9 | vim \ |
| 10 | cmake \ |
| 11 | autoconf \ |
| 12 | libtool \ |
| 13 | build-essential \ |
| 14 | libboost-all-dev \ |
| 15 | libcppunit-dev swig \ |
| 16 | doxygen \ |
| 17 | liblog4cpp5-dev \ |
| 18 | python-scipy \ |
| 19 | gnuradio \ |
| 20 | gnuradio-dev \ |
| 21 | gr-osmosdr \ |
| 22 | libosmogsm5 |
| 23 | |
| 24 | COPY ./ /src/ |
| 25 | RUN ls /src |
| 26 | |
| 27 | RUN mkdir /src/build && \ |
| 28 | cd /src/build && \ |
| 29 | cmake .. && \ |
| 30 | make && \ |
| 31 | make test && \ |
| 32 | make install && \ |
| 33 | ldconfig |