blob: 34acf65888e00f235c11fe1713717617e346933b [file] [log] [blame]
Ash Wilsonad10aa92016-02-14 16:59:42 -08001FROM ashmastaflash/gradio37_debjessie
2
3ENV GRGSM_GIT=https://github.com/ptrkrysik/gr-gsm
4ENV OSMOCORE_GIT=git://git.osmocom.org/libosmocore.git
5ENV 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
11RUN 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
41COPY ./ /src/
42RUN ls /src
43RUN mkdir /src/build && \
44 cd /src/build && \
45 cmake .. && \
46 make && \
47 make install && \
48 ldconfig