aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--tests/dockerfiles/Debian_testing.docker8
-rw-r--r--tests/dockerfiles/Kali.docker8
2 files changed, 10 insertions, 6 deletions
diff --git a/tests/dockerfiles/Debian_testing.docker b/tests/dockerfiles/Debian_testing.docker
index 7fb7760..c482c52 100644
--- a/tests/dockerfiles/Debian_testing.docker
+++ b/tests/dockerfiles/Debian_testing.docker
@@ -26,19 +26,21 @@ RUN git clone --branch maint-3.8 --recurse-submodules https://github.com/velichk
mkdir build && \
cd build && \
cmake .. && \
- make -j $(nproc) install
+ make -j $(nproc) install && \
+ ldconfig
RUN git clone --branch maint-3.8 https://github.com/velichkov/gr-osmosdr && \
cd gr-osmosdr && \
mkdir build && \
cd build && \
cmake .. && \
- make -j $(nproc) install
+ make -j $(nproc) install && \
+ ldconfig
RUN mkdir /src/build
WORKDIR /src/build
-RUN cmake .. && \
+RUN PYTHONPATH=/usr/local/lib/python3/dist-packages/:$PYTHONPATH cmake .. && \
# The parallel build sometimes fails when the .grc_gnuradio
# and .gnuradio directories do not exist
mkdir $HOME/.grc_gnuradio/ $HOME/.gnuradio/ && \
diff --git a/tests/dockerfiles/Kali.docker b/tests/dockerfiles/Kali.docker
index 8b03930..8949bb5 100644
--- a/tests/dockerfiles/Kali.docker
+++ b/tests/dockerfiles/Kali.docker
@@ -26,18 +26,20 @@ RUN git clone --branch maint-3.8 --recurse-submodules https://github.com/velichk
mkdir build && \
cd build && \
cmake .. && \
- make -j $(nproc) install
+ make -j $(nproc) install && \
+ ldconfig
RUN git clone --branch maint-3.8 https://github.com/velichkov/gr-osmosdr && \
cd gr-osmosdr && \
mkdir build && \
cd build && \
cmake .. && \
- make -j $(nproc) install
+ make -j $(nproc) install && \
+ ldconfig
RUN mkdir /src/build
WORKDIR /src/build
-RUN cmake .. && \
+RUN PYTHONPATH=/usr/local/lib/python3/dist-packages/:$PYTHONPATH cmake .. && \
# The parallel build sometimes fails when the .grc_gnuradio
# and .gnuradio directories do not exist
mkdir $HOME/.grc_gnuradio/ $HOME/.gnuradio/ && \