Update dionaea Dockerfile

The newest version of dionaea now uses CMake to build, so some routines and dependencies have changed.
This commit is contained in:
Davide Bove 2018-06-22 20:32:12 +02:00 committed by GitHub
parent 144bdb8315
commit 9706528b66
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -9,10 +9,9 @@ ADD dist/ /root/dist/
RUN apt-get update -y && \
apt-get upgrade -y && \
apt-get install -y --no-install-recommends \
autoconf \
automake \
build-essential \
ca-certificates \
cmake \
check \
cython3 \
git \
@ -31,25 +30,15 @@ RUN apt-get update -y && \
python3 \
python3-dev \
python3-bson \
python3-yaml && \
python3-yaml \
ttf-liberation && \
# Get and install dionaea
git clone https://github.com/dinotools/dionaea /root/dionaea/ && \
cd /root/dionaea && \
# git checkout 99e9cfc88cfa8f3715813b18ec7006bca2622d76 && \
autoreconf -vi && \
./configure \
--prefix=/opt/dionaea \
--with-python=/usr/bin/python3 \
--with-cython-dir=/usr/bin \
--enable-ev \
--with-ev-include=/usr/include \
--with-ev-lib=/usr/lib \
--with-emu-lib=/usr/lib/libemu \
--with-emu-include=/usr/include \
--with-nl-include=/usr/include/libnl3 \
--with-nl-lib=/usr/lib \
--enable-static && \
mkdir build && cd build && \
cmake -DCMAKE_INSTALL_PREFIX:PATH=/opt/dionaea .. && \
make && \
make install && \