blob: 5463fc82bcedf9bfd9b8789df3b40b11e34dd301 [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 \
Ash Wilson9afa2c72016-02-21 09:56:04 -080026 liblog4cpp5-dev \
27 build-essential \
28 libtool \
29 shtool \
30 pkg-config \
31 libpcsclite-dev \
32 gnuradio \
33 gnuradio-dev \
34 gr-osmosdr \
35 libfftw3-dev \
36 libusb-1.0-0-dev \
Ash Wilson10ee8bd2016-02-21 10:09:38 -080037 libvolk1-dev \
38 libvolk1.1 \
Ash Wilson9afa2c72016-02-21 09:56:04 -080039 libboost-all-dev \
Ash Wilson10ee8bd2016-02-21 10:09:38 -080040 libgnuradio-osmosdr0.1.4 \
Ash Wilson9afa2c72016-02-21 09:56:04 -080041 libmirisdr0 \
42 libosmosdr-dev \
43 libosmosdr0 \
44 librtlsdr-dev \
45 librtlsdr0 \
46 osmo-sdr \
47 rtl-sdr \
48 wget \
49 python-talloc-dev \
50 libtalloc2 \
51 libtalloc-dev \
52 unzip \
53 libosmocore \
54 libosmocore-dev
55
56COPY ./ /src/
57
58RUN mkdir /root/.gnuradio/
59RUN echo "[grc]\nlocal_blocks_path=/usr/local/share/gnuradio/grc/blocks" > \
60 /root/.gnuradio/config.conf
61
62RUN mkdir /src/build && \
63 cd /src/build && \
64 cmake .. && \
65 make && \
66 make test && \
67 make install && \
68 ldconfig