From 9d2e6312a276c7224cce050fab598d95c7f3b923 Mon Sep 17 00:00:00 2001 From: Steven Date: Tue, 9 Mar 2021 15:16:06 +0100 Subject: [PATCH] Install misp-modules the right way --- web/Dockerfile | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/web/Dockerfile b/web/Dockerfile index 3753f80..5c35367 100644 --- a/web/Dockerfile +++ b/web/Dockerfile @@ -28,6 +28,17 @@ RUN bash INSTALL_NODB.sh -A -u USER root +# Install MISP Modules +WORKDIR /opt +RUN git clone --branch v2.4.134 https://github.com/MISP/misp-modules.git +RUN cd misp-modules && \ + pip3 install --upgrade pip setuptools wheel && \ + pip3 install scikit-build && \ + pip3 install opencv-python && \ + pip3 install -I -r REQUIREMENTS && \ + pip3 install -I . && \ + echo "sudo -u www-data misp-modules -s -l 127.0.0.1 &" >>/etc/rc.local + # Supervisord Setup RUN ( \ echo '[supervisord]'; \