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 \ |
Petter Reinholdtsen | cf5718c | 2017-09-20 21:52:31 +0200 | [diff] [blame] | 14 | python-docutils \ |
Piotr Krysik | 1d42544 | 2016-04-13 12:26:41 +0200 | [diff] [blame] | 15 | libboost-all-dev \ |
| 16 | libcppunit-dev swig \ |
| 17 | doxygen \ |
| 18 | liblog4cpp5-dev \ |
| 19 | python-scipy \ |
| 20 | gnuradio \ |
| 21 | gnuradio-dev \ |
| 22 | gr-osmosdr \ |
| 23 | libosmogsm5 |
| 24 | |
| 25 | COPY ./ /src/ |
| 26 | RUN ls /src |
| 27 | |
| 28 | RUN mkdir /src/build && \ |
| 29 | cd /src/build && \ |
| 30 | cmake .. && \ |
| 31 | make && \ |
| 32 | make test && \ |
| 33 | make install && \ |
| 34 | ldconfig |