<commit_before>FROM phusion/baseimage:latest
MAINTAINER <NAME> <<EMAIL>>

RUN apt-get update && apt-get install -y \
        php7.0 php7.0-cli php7.0-curl php7.0-gd  php7.0-json  php7.0-mysql \
	php7.0-xml  php7.0-bcmath  php7.0-imap  php7.0-mbstring  php7.0-mcrypt  php7.0-zip \
        apache2 libapache2-mod-php7.0 php7.0-cli php7.0-intl git npm

RUN a2enmod rewrite
RUN phpenmod intl
RUN curl -sS https://getcomposer.org/installer | php -- --install-dir=/usr/local/bin --filename=composer
RUN npm install -g bower grunt-cli gulp gulp-cli
RUN ln -s /usr/bin/nodejs /usr/bin/node
RUN echo "{ \"allow_root\": true }" > ~/.bowerrc

RUN a2enmod php7.0

ENV APACHE_LOG_DIR /var/log/apache2
ENV APACHE_LOCK_DIR /var/lock/apache2
ENV APACHE_PID_FILE /var/run/apache2.pid

COPY apache2/000-default.conf /etc/apache2/sites-available/000-default.conf
COPY apache2/apache2-foreground /usr/local/bin

WORKDIR /var/www/html

EXPOSE 80

CMD /usr/local/bin/apache2-foreground<commit_msg>Adds JDK for running jasper.<commit_after>FROM phusion/baseimage:latest
MAINTAINER <NAME> <<EMAIL>>

RUN apt-get update && apt-get install -y \
        php7.0 php7.0-cli php7.0-curl php7.0-gd  php7.0-json  php7.0-mysql \
	php7.0-xml  php7.0-bcmath  php7.0-imap  php7.0-mbstring  php7.0-mcrypt  php7.0-zip \
        apache2 libapache2-mod-php7.0 php7.0-cli php7.0-intl git npm default-jdk

RUN a2enmod rewrite
RUN phpenmod intl
RUN curl -sS https://getcomposer.org/installer | php -- --install-dir=/usr/local/bin --filename=composer
RUN npm install -g bower grunt-cli gulp gulp-cli
RUN ln -s /usr/bin/nodejs /usr/bin/node
RUN echo "{ \"allow_root\": true }" > ~/.bowerrc

RUN a2enmod php7.0

ENV APACHE_LOG_DIR /var/log/apache2
ENV APACHE_LOCK_DIR /var/lock/apache2
ENV APACHE_PID_FILE /var/run/apache2.pid

COPY apache2/000-default.conf /etc/apache2/sites-available/000-default.conf
COPY apache2/apache2-foreground /usr/local/bin

WORKDIR /var/www/html

EXPOSE 80

CMD /usr/local/bin/apache2-foreground
{'fraction_non_alphanumeric': 0.1274658573596358, 'fraction_numerical': 0.05260495700556399, 'mean_word_length': 3.337719298245614, 'pattern_counts': {'":': 2, '<': 9, '<?xml version=': 0, '>': 11, 'https://': 2, 'lorem ipsum': 0, 'www.': 2, 'xml': 2}, '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': '2577878', 'n_tokens_mistral': 867, 'n_tokens_neox': 801, 'n_words': 172}