Ash Wilson | ad10aa9 | 2016-02-14 16:59:42 -0800 | [diff] [blame] | 1 | FROM ashmastaflash/gradio37_debjessie |
| 2 | |
| 3 | ENV GRGSM_GIT=https://github.com/ptrkrysik/gr-gsm |
| 4 | ENV OSMOCORE_GIT=git://git.osmocom.org/libosmocore.git |
| 5 | ENV GR_OSMOSDR_GIT=git://git.osmocom.org/gr-osmosdr |
| 6 | |
| 7 | # We know it's going to foul up, so we run this install separately and then ...fix... dpkg status |
| 8 | #RUN apt-get update && apt-get install -y uhd-host || \ |
| 9 | # sed -i "s/Status: install ok half-configured/Status: install ok installed/g" /var/lib/dpkg/status |
| 10 | |
| 11 | RUN apt-get update && apt-get install -y \ |
| 12 | git \ |
| 13 | vim \ |
| 14 | cmake \ |
| 15 | autoconf \ |
| 16 | libtool \ |
| 17 | python-talloc-dev \ |
| 18 | libtalloc2 \ |
| 19 | libtalloc-dev \ |
| 20 | libpcsclite-dev \ |
| 21 | build-essential \ |
| 22 | libboost-all-dev \ |
| 23 | libcppunit-dev swig \ |
| 24 | doxygen \ |
| 25 | liblog4cpp5-dev \ |
| 26 | python-scipy \ |
| 27 | librtlsdr-dev \ |
| 28 | librtlsdr0 \ |
| 29 | rtl-sdr \ |
| 30 | wget \ |
| 31 | libxi-dev |
| 32 | |
| 33 | #RUN /usr/bin/git clone $OSMOCORE_GIT && \ |
| 34 | # cd libosmocore && \ |
| 35 | # autoreconf -i && \ |
| 36 | # ./configure && \ |
| 37 | # make && \ |
| 38 | # make install && \ |
| 39 | # ldconfig -i |
| 40 | |
| 41 | COPY ./ /src/ |
| 42 | RUN ls /src |
| 43 | RUN mkdir /src/build && \ |
| 44 | cd /src/build && \ |
| 45 | cmake .. && \ |
| 46 | make && \ |
| 47 | make install && \ |
| 48 | ldconfig |