blob: 97eccd932023c9765728803992382849685373d0 [file] [log] [blame]
Ash Wilson9afa2c72016-02-21 09:56:04 -08001FROM kalilinux/kali-linux-docker
2MAINTAINER Ash Wilson
3
4
5# We know it's going to foul up, so we run this install separately and then ...fix... dpkg status
6RUN apt-get update && apt-get install -y uhd-host || \
7 sed -i "s/Status: install ok half-configured/Status: install ok installed/g" /var/lib/dpkg/status
8
9
10RUN apt-get update && apt-get install -y \
11 git \
12 python \
13 python-scipy \
14 cmake \
15 make \
16 autoconf \
17 automake \
18 cpp-4.9 \
19 gcc \
20 g++ \
21 libstdc++-4.9-dev \
22 libcppunit-dev \
23 swig \
24 swig2.0 \
25 doxygen \
26 liblog4cpp5 \
27 liblog4cpp5-dev \
28 build-essential \
29 libtool \
30 shtool \
31 pkg-config \
32 libpcsclite-dev \
33 gnuradio \
34 gnuradio-dev \
35 gr-osmosdr \
36 libfftw3-dev \
37 libusb-1.0-0-dev \
38 libvolk-dev \
39 libvolk0.0.0 \
40 libboost-all-dev \
41 libgnuradio-osmosdr0.1.3 \
42 libmirisdr0 \
43 libosmosdr-dev \
44 libosmosdr0 \
45 librtlsdr-dev \
46 librtlsdr0 \
47 osmo-sdr \
48 rtl-sdr \
49 wget \
50 python-talloc-dev \
51 libtalloc2 \
52 libtalloc-dev \
53 unzip \
54 libosmocore \
55 libosmocore-dev
56
57COPY ./ /src/
58
59RUN mkdir /root/.gnuradio/
60RUN echo "[grc]\nlocal_blocks_path=/usr/local/share/gnuradio/grc/blocks" > \
61 /root/.gnuradio/config.conf
62
63RUN mkdir /src/build && \
64 cd /src/build && \
65 cmake .. && \
66 make && \
67 make test && \
68 make install && \
69 ldconfig