<commit_before>FROM debian:jessie
MAINTAINER <NAME> <<EMAIL>>

ENV RESTYABOARD_VERSION 0.2.1

RUN echo "postfix postfix/mailname string localhost" | debconf-set-selections \
	&& echo "postfix postfix/main_mailer_type string 'Internet Site'" | debconf-set-selections \
	&& apt-get update && apt-get install -y --no-install-recommends \
		ca-certificates \
		cron \
		curl \
		nginx \
		php5-curl \
		php5-fpm \
		php5-imagick \
		php5-imap \
		php5-pgsql \
		postfix \
		postgresql-client \
		unzip \
	&& rm -rf /var/lib/apt/lists/*

RUN curl -L -o /tmp/restyaboard.zip https://github.com/RestyaPlatform/board/releases/download/v${RESTYABOARD_VERSION}/board-v${RESTYABOARD_VERSION}.zip \
	&& unzip /tmp/restyaboard.zip -d /usr/share/nginx/html \
	&& rm /tmp/restyaboard.zip \
	&& cp /usr/share/nginx/html/restyaboard.conf /etc/nginx/sites-enabled/default \
	&& mkdir -p /etc/restyaboard \
	&& mv /usr/share/nginx/html/server/php/config.inc.php /usr/share/nginx/html/server/php/config.inc.php.back

RUN { \
		echo '* * * * * php /usr/share/nginx/htmlserver/php/shell/indexing_to_elasticsearch.sh'; \
		echo '* * * * * php /usr/share/nginx/htmlserver/php/shell/instant_email_notification.sh'; \
		echo '* * * * * php /usr/share/nginx/htmlserver/php/shell/periodic_email_notification.sh'; \<commit_msg>Fix periodic email notification cron<commit_after>FROM debian:jessie
MAINTAINER <NAME> <<EMAIL>>

ENV RESTYABOARD_VERSION 0.2.1

RUN echo "postfix postfix/mailname string localhost" | debconf-set-selections \
	&& echo "postfix postfix/main_mailer_type string 'Internet Site'" | debconf-set-selections \
	&& apt-get update && apt-get install -y --no-install-recommends \
		ca-certificates \
		cron \
		curl \
		nginx \
		php5-curl \
		php5-fpm \
		php5-imagick \
		php5-imap \
		php5-pgsql \
		postfix \
		postgresql-client \
		unzip \
	&& rm -rf /var/lib/apt/lists/*

RUN curl -L -o /tmp/restyaboard.zip https://github.com/RestyaPlatform/board/releases/download/v${RESTYABOARD_VERSION}/board-v${RESTYABOARD_VERSION}.zip \
	&& unzip /tmp/restyaboard.zip -d /usr/share/nginx/html \
	&& rm /tmp/restyaboard.zip \
	&& cp /usr/share/nginx/html/restyaboard.conf /etc/nginx/sites-enabled/default \
	&& mkdir -p /etc/restyaboard \
	&& mv /usr/share/nginx/html/server/php/config.inc.php /usr/share/nginx/html/server/php/config.inc.php.back

RUN { \
		echo '* * * * * php /usr/share/nginx/htmlserver/php/shell/indexing_to_elasticsearch.sh'; \
		echo '* * * * * php /usr/share/nginx/htmlserver/php/shell/instant_email_notification.sh'; \
		echo '0 * * * * php /usr/share/nginx/htmlserver/php/shell/periodic_email_notification.sh'; \
{'fraction_non_alphanumeric': 0.1561664757541046, 'fraction_numerical': 0.006491027109583811, 'mean_word_length': 3.3021346469622332, 'pattern_counts': {'":': 0, '<': 9, '<?xml version=': 0, '>': 9, 'https://': 2, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 2, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '4953046', 'n_tokens_mistral': 1088, 'n_tokens_neox': 1016, 'n_words': 153}