From f074a49568a8f455b723bd76515505a25fb1d31b Mon Sep 17 00:00:00 2001 From: Ventz Petkov Date: Tue, 23 Jan 2018 13:48:33 -0500 Subject: [PATCH] Upstream update to install process: a2d17e3c5eaea60f5bb5875bbadef259bbd06070 - Added additional information for installation (Python 3 for stix2, a2enmod headers) --- container/Dockerfile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/container/Dockerfile b/container/Dockerfile index 01efb4e..896855b 100644 --- a/container/Dockerfile +++ b/container/Dockerfile @@ -17,7 +17,7 @@ VOLUME /var/lib/mysql #VOLUME /etc/ssl/private ENV DEBIAN_FRONTEND noninteractive -RUN apt-get update && apt-get install -y supervisor cron logrotate syslog-ng-core postfix curl gcc git gnupg-agent make python openssl redis-server sudo vim zip wget mariadb-client mariadb-server apache2 apache2-doc apache2-utils libapache2-mod-php php php-cli php-crypt-gpg php-dev php-json php-mysql php-opcache php-readline php-redis python-dev python-pip libxml2-dev libxslt1-dev zlib1g-dev python-setuptools rng-tools python3-dev python3-pip libpq5 libjpeg-dev +RUN apt-get update && apt-get install -y supervisor cron logrotate syslog-ng-core postfix curl gcc git gnupg-agent make python openssl redis-server sudo vim zip wget mariadb-client mariadb-server apache2 apache2-doc apache2-utils libapache2-mod-php php php-cli php-crypt-gpg php-dev php-json php-mysql php-opcache php-readline php-redis python-dev python-pip libxml2-dev libxslt1-dev zlib1g-dev python-setuptools rng-tools python3 python3-dev python3-pip libpq5 libjpeg-dev #echo "test -e /var/run/mysqld || install -m 755 -o mysql -g root -d /var/run/mysqld" ; \ RUN sed -i -E 's/^(\s*)system\(\);/\1unix-stream("\/dev\/log");/' /etc/syslog-ng/syslog-ng.conf ; \ @@ -26,7 +26,7 @@ RUN sed -i -E 's/^(\s*)system\(\);/\1unix-stream("\/dev\/log");/' /etc/syslog-ng echo "mysql-server mysql-server/root_password_again password $MYSQL_ROOT_PASSWORD" | debconf-set-selections ; \ test -e /var/run/mysqld || install -m 755 -o mysql -g root -d /var/run/mysqld ; \ a2dismod status ; \ - a2enmod ssl rewrite ; \ + a2enmod ssl rewrite headers; \ a2ensite 000-default ; \ a2ensite default-ssl ; \ mkdir -p /var/www/MISP /root/.config /root/.gitconfig ; \