mirror of https://github.com/MISP/docker-misp
Merge of PR by Kortho - cleaned up pip3 install - https://github.com/MISP/docker-misp/pull/11
parent
c9d72cea5f
commit
939d98e452
|
@ -1,6 +1,6 @@
|
||||||
Docker MISP Container
|
Docker MISP Container
|
||||||
=====================
|
=====================
|
||||||
### Latest Update: 5-21-2019
|
### Latest Update: 11-20-2019
|
||||||
|
|
||||||
Following the Official MISP Ubuntu 18.04 LTS build instructions.
|
Following the Official MISP Ubuntu 18.04 LTS build instructions.
|
||||||
|
|
||||||
|
|
|
@ -49,45 +49,26 @@ RUN chown -R www-data:www-data /var/www/MISP /root/.config /root/.git; \
|
||||||
sudo -u www-data -H git config core.filemode false ; \
|
sudo -u www-data -H git config core.filemode false ; \
|
||||||
echo
|
echo
|
||||||
|
|
||||||
RUN sudo pip3 install --upgrade pip
|
RUN sudo pip3 install --upgrade pip ; \
|
||||||
|
sudo pip3 install git+https://github.com/CybOXProject/mixbox.git ; \
|
||||||
WORKDIR /var/www/MISP/app/files/scripts
|
sudo pip3 install git+https://github.com/CybOXProject/python-cybox.git ; \
|
||||||
RUN sudo -u www-data -H git clone https://github.com/CybOXProject/python-cybox.git ; \
|
sudo pip3 install git+https://github.com/STIXProject/python-stix.git ; \
|
||||||
sudo -u www-data -H git clone https://github.com/STIXProject/python-stix.git ; \
|
sudo pip3 install git+https://github.com/MAECProject/python-maec.git ; \
|
||||||
sudo -u www-data -H git clone https://github.com/MAECProject/python-maec.git ; \
|
sudo pip3 install /var/www/MISP/cti-python-stix2 ; \
|
||||||
sudo -u www-data -H git clone https://github.com/CybOXProject/mixbox.git
|
sudo pip3 install /var/www/MISP/PyMISP ; \
|
||||||
|
|
||||||
WORKDIR /var/www/MISP/app/files/scripts/mixbox
|
|
||||||
RUN sudo pip3 install .
|
|
||||||
|
|
||||||
WORKDIR /var/www/MISP/app/files/scripts/python-cybox
|
|
||||||
RUN sudo pip3 install .
|
|
||||||
|
|
||||||
WORKDIR /var/www/MISP/app/files/scripts/python-stix
|
|
||||||
RUN sudo pip3 install .
|
|
||||||
|
|
||||||
WORKDIR /var/www/MISP/app/files/scripts/python-maec
|
|
||||||
RUN sudo pip3 install .
|
|
||||||
|
|
||||||
WORKDIR /var/www/MISP/cti-python-stix2
|
|
||||||
RUN sudo pip3 install .
|
|
||||||
|
|
||||||
WORKDIR /var/www/MISP/PyMISP
|
|
||||||
RUN sudo pip3 install . ; \
|
|
||||||
sudo pip3 install git+https://github.com/kbandla/pydeep.git ; \
|
sudo pip3 install git+https://github.com/kbandla/pydeep.git ; \
|
||||||
sudo pip3 install https://github.com/lief-project/packages/raw/lief-master-latest/pylief-0.9.0.dev.zip
|
sudo pip3 install https://github.com/lief-project/packages/raw/lief-master-latest/pylief-0.9.0.dev.zip ; \
|
||||||
|
sudo pip3 install jsonschema ; \
|
||||||
|
sudo pip3 install reportlab ; \
|
||||||
|
sudo pip3 install python-magic ; \
|
||||||
|
sudo pip3 install pyzmq ; \
|
||||||
|
sudo pip3 install redis
|
||||||
|
|
||||||
|
|
||||||
WORKDIR /var/www/MISP
|
WORKDIR /var/www/MISP
|
||||||
RUN sudo -u www-data -H git submodule init ; \
|
RUN sudo -u www-data -H git submodule init ; \
|
||||||
sudo -u www-data -H git submodule update
|
sudo -u www-data -H git submodule update
|
||||||
|
|
||||||
RUN sudo pip3 install jsonschema ; \
|
|
||||||
sudo pip3 install reportlab ; \
|
|
||||||
sudo pip3 install python-magic ; \
|
|
||||||
sudo pip3 install pyzmq ; \
|
|
||||||
sudo pip3 install redis
|
|
||||||
|
|
||||||
WORKDIR /usr/local/src
|
WORKDIR /usr/local/src
|
||||||
RUN sudo -H git clone https://github.com/MISP/misp-modules.git
|
RUN sudo -H git clone https://github.com/MISP/misp-modules.git
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue