<commit_before>FROM ubuntu:trusty

ENV DEBIAN_FRONTEND noninteractive

# Install packages that are specific to our stack
RUN apt-get update && \
    apt-get install --yes \
    curl \
    git-core \
    imagemagick \
    make \
    php-apc \
    php5-cli \
    php5-curl \
    php5-fpm \
    php5-gd \
    php5-imagick \
    php5-intl \
    php5-ldap \
    php5-mcrypt \
    php5-memcache \
    php5-memcached \
    php5-pgsql \
    php5-mysql \
    php5-xdebug \
    ruby-sass  && \
    rm --recursive --force /var/lib/apt/lists/*

RUN php5enmod mcrypt

# Install composer
RUN curl --silent --show-error https://getcomposer.org/installer | php && \
    mv composer.phar /usr/local/bin/composer

# Sanctify (the opposite of daemonize :D ) php-fpm
RUN sed -i -e 's/;daemonize\s*=\s*yes/daemonize = no/g' /etc/php5/fpm/php-fpm.conf

ADD www.conf /etc/php5/fpm/pool.d/www.conf
ADD php-fpm.ini /etc/php5/fpm/php.ini
ADD xdebug.ini /etc/php5/mods-available/xdebug.ini

COPY entrypoint.sh /

RUN chmod u+x /entrypoint.sh

RUN mkdir /home/developer<commit_msg>persist the developer's home across reboots<commit_after>FROM ubuntu:trusty

ENV DEBIAN_FRONTEND noninteractive

# Install packages that are specific to our stack
RUN apt-get update && \
    apt-get install --yes \
    curl \
    git-core \
    imagemagick \
    make \
    php-apc \
    php5-cli \
    php5-curl \
    php5-fpm \
    php5-gd \
    php5-imagick \
    php5-intl \
    php5-ldap \
    php5-mcrypt \
    php5-memcache \
    php5-memcached \
    php5-pgsql \
    php5-mysql \
    php5-xdebug \
    ruby-sass  && \
    rm --recursive --force /var/lib/apt/lists/*

RUN php5enmod mcrypt

# Install composer
RUN curl --silent --show-error https://getcomposer.org/installer | php && \
    mv composer.phar /usr/local/bin/composer

# Sanctify (the opposite of daemonize :D ) php-fpm
RUN sed -i -e 's/;daemonize\s*=\s*yes/daemonize = no/g' /etc/php5/fpm/php-fpm.conf

ADD www.conf /etc/php5/fpm/pool.d/www.conf
ADD php-fpm.ini /etc/php5/fpm/php.ini
ADD xdebug.ini /etc/php5/mods-available/xdebug.ini

COPY entrypoint.sh /

RUN chmod u+x /entrypoint.sh

VOLUME /home/developer
{'fraction_non_alphanumeric': 0.12611345522737927, 'fraction_numerical': 0.016877637130801686, 'mean_word_length': 2.2679938744257275, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 2, 'lorem ipsum': 0, 'www.': 4, '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': '1403051', 'n_tokens_mistral': 909, 'n_tokens_neox': 848, 'n_words': 179}