Merge pull request #97 from itzdan/patch-1

Update Dockerfile
Alexandre Dulaunoy 2020-11-22 08:38:23 +01:00 committed by GitHub
commit fe086412b3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 3 additions and 1 deletions

View File

@ -50,7 +50,6 @@ RUN git checkout tags/$(git describe --tags `git rev-list --tags --max-count=1`)
git submodule foreach --recursive git config core.filemode false
USER root
RUN pip3 install --upgrade pip
RUN pip3 install git+https://github.com/STIXProject/python-stix.git \
git+https://github.com/CybOXProject/python-cybox.git \
git+https://github.com/CybOXProject/mixbox.git \
@ -140,6 +139,9 @@ RUN sudo -E apt-get -y install libpoppler73 libpoppler-dev libpoppler-cpp-dev
WORKDIR /opt
RUN git clone 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