gr-gsm/tests/dockerfiles/Kali.docker

36 lines
917 B
Docker
Raw Normal View History

2018-02-20 11:58:45 +00:00
FROM kalilinux/kali-linux-docker
MAINTAINER Piotr Krysik
2018-04-24 20:27:40 +00:00
RUN apt-get update && DEBIAN_FRONTEND=noninteractive apt-get install -y \
2018-02-20 11:58:45 +00:00
cmake \
autoconf \
libtool \
pkg-config \
2018-02-20 11:58:45 +00:00
build-essential \
python-docutils \
libcppunit-dev \
swig \
doxygen \
liblog4cpp5-dev \
python-scipy \
gnuradio-dev \
gr-osmosdr \
libosmocore-dev
COPY ./ /src/
RUN ls /src
RUN mkdir /src/build
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/ && \
# Workaround for the grcc failure
# https://github.com/ptrkrysik/gr-gsm/pull/378#issuecomment-379587145
ln -sf /usr/lib/x86_64-linux-gnu/libvolk.so.1.3.1 /usr/lib/x86_64-linux-gnu/libvolk.so.1.3 && \
make -j $(nproc) && \
2018-02-20 11:58:45 +00:00
make install && \
ldconfig && \
make test