blob: 666d64f90373257918c168f11ed6fa63aaeb06cd [file] [log] [blame]
Ash Wilson628cf3b2016-01-30 14:13:08 -08001FROM ubuntu:14.04
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
8RUN 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 gnuradio-dev \
15 gr-osmosdr \
16 libgnuradio-osmosdr0.0.0 \
17 libosmosdr-dev \
18 libosmosdr0 \
19 osmo-sdr \
20 cmake \
21 autoconf \
22 libtool \
23 python-talloc-dev \
24 libtalloc2 \
25 libtalloc-dev \
26 libpcsclite-dev \
27 build-essential \
28 libboost-all-dev \
29 libcppunit-dev swig \
30 doxygen \
31 liblog4cpp5-dev \
32 python-scipy \
33 librtlsdr-dev \
34 librtlsdr0 \
35 rtl-sdr
36
37
38RUN /usr/bin/git clone $OSMOCORE_GIT && \
39 cd libosmocore && \
40 autoreconf -i && \
41 ./configure && \
42 make && \
43 make install && \
44 ldconfig -i
45
46#RUN /usr/bin/git clone $GR_OSMOSDR_GIT && \
47# cd gr-osmosdr && \
48# mkdir build && \
49# cd build && \
50# cmake .. && \
51# make && \
52# make install && \
53# ldconfig
54
55RUN /usr/bin/git clone $GRGSM_GIT && \
56 cd gr-gsm && \
57 mkdir build && \
58 cd build && \
59 cmake .. && \
60 make && \
Ash Wilson96a56b42016-01-30 15:13:13 -080061 sudo make install &&\
62 ldconfig
63
64COPY build_test.sh /