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