Install misp-modules the right way

Steven 2021-03-09 15:16:06 +01:00
parent ba64531a0b
commit 9d2e6312a2
1 changed files with 11 additions and 0 deletions

View File

@ -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]'; \