aboutsummaryrefslogtreecommitdiffstats
path: root/tests/dockerfiles/Fedora_26.Dockerfile
blob: 38a5a5207264bb2bf4084cc039a8c18e9e85a8f2 (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
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 -j $(nproc) && \
        make install && \
        ldconfig && \
        make CTEST_OUTPUT_ON_FAILURE=1 test