aboutsummaryrefslogtreecommitdiffstats
path: root/tests/dockerfiles/Ubuntu_16_04.docker
blob: 2340fed2f520bfe7ab7b190f05d9face20668f37 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
FROM ubuntu:16.04
MAINTAINER Ash Wilson

# We know it's going to foul up, so we run this install separately and then ...fix... dpkg status
RUN apt-get update && apt-get install -y uhd-host || \
     sed -i "s/Status: install ok half-configured/Status: install ok installed/g" /var/lib/dpkg/status

RUN apt-get install -y \
    git \
    python \
    python-scipy \
    cmake \
    make \
    autoconf \
    automake \
    cpp-4.9 \
    gcc \
    g++ \
    libstdc++-4.9-dev \
    libcppunit-dev \
    swig \
    doxygen \
    liblog4cpp5v5 \
    liblog4cpp5-dev \
    build-essential \
    libtool \
    shtool \
    pkg-config \
    libpcsclite-dev \
    gnuradio \
    gnuradio-dev \
    gr-osmosdr \
    libfftw3-dev \
    libusb-1.0-0-dev \
    libvolk1-dev \
    libvolk1.1 \
    libboost-all-dev \
    libgnuradio-osmosdr0.1.4 \
    libmirisdr0 \
    libosmosdr-dev \
    libosmosdr0 \
    librtlsdr-dev \
    librtlsdr0 \
    osmo-sdr \
    rtl-sdr \
    wget \
    python-talloc-dev \
    libtalloc2 \
    libtalloc-dev \
    unzip \
    libosmocore-dev

COPY ./ /src/

RUN mkdir /root/.gnuradio/
RUN echo "[grc]\nlocal_blocks_path=/usr/local/share/gnuradio/grc/blocks" > \
    /root/.gnuradio/config.conf

RUN mkdir /src/build && \
    cd /src/build && \
    cmake .. && \
    make && \
    # make test && \
    make install && \
    ldconfig