Update Dionaea to version 0.8.0

Thanks to @Dbof for noticing and supplying #222
This commit is contained in:
t3chn0m4g3 2018-07-31 13:31:50 +00:00
parent d91714cdf2
commit 0373d7145d

View file

@ -8,47 +8,37 @@ ADD dist/ /root/dist/
RUN apt-get update -y && \ RUN apt-get update -y && \
apt-get dist-upgrade -y && \ apt-get dist-upgrade -y && \
apt-get install -y --no-install-recommends \ apt-get install -y --no-install-recommends \
autoconf \ build-essential \
automake \ ca-certificates \
build-essential \ check \
ca-certificates \ cmake \
check \ cython3 \
cython3 \ git \
git \ libcap2-bin \
libcap2-bin \ libcurl4-openssl-dev \
libcurl4-openssl-dev \ libemu-dev \
libemu-dev \ libev-dev \
libev-dev \ libglib2.0-dev \
libglib2.0-dev \ libloudmouth1-dev \
libloudmouth1-dev \ libnetfilter-queue-dev \
libnetfilter-queue-dev \ libnl-3-dev \
libnl-3-dev \ libpcap-dev \
libpcap-dev \ libssl-dev \
libssl-dev \ libtool \
libtool \ libudns-dev \
libudns-dev \ procps \
python3 \ python3 \
python3-dev \ python3-dev \
python3-bson \ python3-bson \
python3-yaml \ python3-yaml \
ttf-liberation && \ ttf-liberation && \
# Get and install dionaea # Get and install dionaea
git clone --depth=1 https://github.com/dinotools/dionaea -b 0.7.0 /root/dionaea/ && \ git clone --depth=1 https://github.com/dinotools/dionaea -b 0.8.0 /root/dionaea/ && \
cd /root/dionaea && \ cd /root/dionaea && \
autoreconf -vi && \ mkdir build && \
./configure \ cd build && \
--prefix=/opt/dionaea \ cmake -DCMAKE_INSTALL_PREFIX:PATH=/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 && \
make && \ make && \
make install && \ make install && \
@ -64,11 +54,10 @@ RUN apt-get update -y && \
# Setup runtime and clean up # Setup runtime and clean up
apt-get purge -y \ apt-get purge -y \
autoconf \
automake \
build-essential \ build-essential \
ca-certificates \ ca-certificates \
check \ check \
cmake \
cython3 \ cython3 \
git \ git \
libcurl4-openssl-dev \ libcurl4-openssl-dev \