aboutsummaryrefslogtreecommitdiffstats
path: root/tests/dockerfiles/Ubuntu_16_04_nolibosmo.docker
diff options
context:
space:
mode:
authorPiotr Krysik <ptrkrysik@gmail.com>2018-03-22 08:20:24 +0100
committerPiotr Krysik <ptrkrysik@gmail.com>2018-03-22 08:46:25 +0100
commitc62f21e44c34c0120ecc75ad4c2c03436625edb1 (patch)
tree251f6981159329b7279f5d422fb18aed5a99332c /tests/dockerfiles/Ubuntu_16_04_nolibosmo.docker
parent753afeb5c8063c86687130b80affbbb0dc3183a1 (diff)
Fixing Ubuntu 16.04 no libosmocore test
Diffstat (limited to 'tests/dockerfiles/Ubuntu_16_04_nolibosmo.docker')
-rw-r--r--tests/dockerfiles/Ubuntu_16_04_nolibosmo.docker6
1 files changed, 5 insertions, 1 deletions
diff --git a/tests/dockerfiles/Ubuntu_16_04_nolibosmo.docker b/tests/dockerfiles/Ubuntu_16_04_nolibosmo.docker
index 5c74f6b..879189e 100644
--- a/tests/dockerfiles/Ubuntu_16_04_nolibosmo.docker
+++ b/tests/dockerfiles/Ubuntu_16_04_nolibosmo.docker
@@ -5,6 +5,7 @@ RUN apt-get update && apt-get install -y \
cmake \
autoconf \
libtool \
+ pkg-config \
build-essential \
python-docutils \
libcppunit-dev \
@@ -21,7 +22,10 @@ RUN ls /src
RUN mkdir /src/build
WORKDIR /src/build
RUN cmake .. && \
- make && \
+ # The parallel build sometimes fails when the .grc_gnuradio
+ # and .gnuradio directories do not exist
+ mkdir $HOME/.grc_gnuradio/ $HOME/.gnuradio/ && \
+ make -j $(nproc) && \
make install && \
ldconfig && \
make test