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

ENV DEBIAN_FRONTEND noninteractive

RUN apt-get update && apt-get install git postgresql sendmail sendmail-bin wkhtmltopdf supervisor apache2 libapache2-mod-php5 php5-pgsql -y --force-yes

RUN service postgresql start

RUN git clone https://github.com/francoisjacquet/rosariosis.git /usr/src/rosariosis

RUN rm -rf /var/www/html && mkdir -p /var/www && ln -s /usr/src/rosariosis/ /var/www/html && chmod 777 /var/www/html

ADD bin/init /init
ADD bin/start-apache2 /start-apache2
ADD conf/supervisord.conf /etc/supervisor/conf.d/supervisord.conf
ADD conf/config.inc.php /usr/src/rosariosis/config.inc.php

RUN echo "ServerName localhost" >> /etc/apache2/apache2.conf

EXPOSE 80

ENTRYPOINT [ "/init" ]
<commit_msg>Changing to use 2.7.4 branch because master is broken?<commit_after>FROM debian:jessie
MAINTAINER <NAME> <<EMAIL>>

ENV DEBIAN_FRONTEND noninteractive

RUN apt-get update && apt-get install git postgresql sendmail sendmail-bin wkhtmltopdf supervisor apache2 libapache2-mod-php5 php5-pgsql -y --force-yes

RUN service postgresql start

RUN git clone https://github.com/francoisjacquet/rosariosis.git /usr/src/rosariosis
WORKDIR /usr/src/rosariosis
RUN git checkout 2.7.4

RUN rm -rf /var/www/html && mkdir -p /var/www && ln -s /usr/src/rosariosis/ /var/www/html && chmod 777 /var/www/html

ADD bin/init /init
ADD bin/start-apache2 /start-apache2
ADD conf/supervisord.conf /etc/supervisor/conf.d/supervisord.conf
ADD conf/config.inc.php /usr/src/rosariosis/config.inc.php

RUN echo "ServerName localhost" >> /etc/apache2/apache2.conf

EXPOSE 80

ENTRYPOINT [ "/init" ]

{'fraction_non_alphanumeric': 0.11693057247259439, 'fraction_numerical': 0.0194884287454324, 'mean_word_length': 4.134375, 'pattern_counts': {'":': 0, '<': 9, '<?xml version=': 0, '>': 13, 'https://': 2, 'lorem ipsum': 0, 'www.': 8, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '1583150', 'n_tokens_mistral': 622, 'n_tokens_neox': 590, 'n_words': 150}