Upstream update to install process: a2d17e3c5eaea60f5bb5875bbadef259bbd06070 - Added additional information for installation (Python 3 for stix2, a2enmod headers)

pull/4/head
Ventz Petkov 2018-01-23 13:48:33 -05:00
parent 9d6576f892
commit f074a49568
1 changed files with 2 additions and 2 deletions

View File

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