aboutsummaryrefslogtreecommitdiffstats
path: root/tests/dockerfiles/Ubuntu_16_04.docker
blob: 6e7e2801087d3f7891ff918197d43303b89658cc (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
FROM ubuntu:16.04
MAINTAINER Ash Wilson

RUN apt-get update && apt-get install -y \
    uhd-host \
    cmake \
    autoconf \
    automake \
    build-essential \
    libcppunit-dev \
    swig \
    doxygen \
    liblog4cpp5-dev \
    libtool \
    gnuradio-dev \
    gr-osmosdr \
    libosmocore-dev \
    python-scipy

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 install && \
    ldconfig && \