aboutsummaryrefslogtreecommitdiffstats
path: root/tests/dockerfiles/Fedora_26.Dockerfile
blob: 745d89a411463a5c26451f685ffd7d5ace30acd7 (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
FROM fedora:26

RUN dnf install -y \
        gcc-c++ \
        make \
        cmake \
        pkgconfig \
        boost-devel \
        gnuradio-devel \
        libosmocore-devel \
        gr-osmosdr \
        swig \
        doxygen \
        python2-docutils \
        cppunit-devel

COPY ./ /src/

WORKDIR /src/build
RUN cmake .. && \
        # The parallel build sometimes fails when the .grc_gnuradio
        # and .gnuradio directories do not exist
        mkdir $HOME/.grc_gnuradio/ $HOME/.gnuradio/ && \
        make && \
        make install && \
        ldconfig && \
        make test