Merge pull request #18 from moshemal/master

Using submodules instead of pear install
Xavier Mertens 2019-05-02 22:11:57 +02:00 committed by GitHub
commit ac4734d077
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 3 additions and 4 deletions

View File

@ -49,6 +49,9 @@ RUN git clone https://github.com/MISP/MISP.git
WORKDIR /var/www/MISP
RUN git checkout tags/$(git describe --tags `git rev-list --tags --max-count=1`)
RUN git config core.filemode false
RUN git submodule update --init --recursive
# Make git ignore filesystem permission differences for submodules
RUN git submodule foreach --recursive git config core.filemode false
WORKDIR /var/www/MISP/app/files/scripts
RUN git clone https://github.com/CybOXProject/python-cybox.git
@ -108,10 +111,6 @@ RUN echo "postfix postfix/mailname string localhost.localdomain" | debconf-set-s
# Redis Setup
RUN sed -i 's/^\(daemonize\s*\)yes\s*$/\1no/g' /etc/redis/redis.conf
# Install PEAR packages
RUN pear install Crypt_GPG >>/tmp/install.log
RUN pear install Net_GeoIP >>/tmp/install.log
# Apache Setup
RUN cp /var/www/MISP/INSTALL/apache.misp.ubuntu /etc/apache2/sites-available/misp.conf
RUN a2dissite 000-default