<commit_before>FROM ubuntu:15.10
MAINTAINER <NAME> <http://github.com/cravler>

# Let the conatiner know that there is no tty
ENV DEBIAN_FRONTEND noninteractive

# Common environment variables
ENV TZ UTC
ENV COMPOSER_HOME /.composer
ENV CONF_DIR_PHP5_CLI /etc/php5/cli
ENV PATH ${PATH}:/.composer/vendor/bin

# All our dependencies, in alphabetical order (to ease maintenance)
RUN apt-get update && apt-get install -y --no-install-recommends \
        curl \
        git \
        php5-cli \
        php5-curl \
        php5-gd \
        php5-imagick \
        php5-intl \
        php5-json \
        php5-ldap \
        php5-mcrypt \
        php5-mhash \
        php5-mysql \
        php5-pgsql \
        php5-sqlite && \

# Remove cache
    apt-get clean && rm -rf /var/lib/apt/lists/* && \

# Install composer
    curl -sS http://getcomposer.org/installer | php -- --install-dir=/usr/local/bin --filename=composer

VOLUME ["/.composer", "/var/www"]
WORKDIR /var/www

ADD sed.sh /.cravler/sed.sh
ADD php5-set-config.sh /.cravler/php5-set-config.sh
ADD php5-cli-config.sh /.cravler/php5-cli-config.sh
ADD docker-entrypoint.sh /.cravler/entrypoint.sh

ENTRYPOINT ["/.cravler/entrypoint.sh"]

CMD ["php", "-v"]<commit_msg>[php5-cli] ca-certificates, netcat, vim<commit_after>FROM ubuntu:15.10
MAINTAINER <NAME> <http://github.com/cravler>

# Let the conatiner know that there is no tty
ENV DEBIAN_FRONTEND noninteractive

# Common environment variables
ENV TZ UTC
ENV COMPOSER_HOME /.composer
ENV CONF_DIR_PHP5_CLI /etc/php5/cli
ENV PATH ${PATH}:/.composer/vendor/bin

RUN \

# All our dependencies, in alphabetical order (to ease maintenance)
    apt-get update && apt-get install -y --no-install-recommends \
        ca-certificates \
        curl \
        git \
        netcat \
        php5-cli \
        php5-curl \
        php5-gd \
        php5-imagick \
        php5-intl \
        php5-json \
        php5-ldap \
        php5-mcrypt \
        php5-mhash \
        php5-mysql \
        php5-pgsql \
        php5-sqlite \
        vim && \

# Remove cache
    apt-get clean && rm -rf /var/lib/apt/lists/* && \

# Install composer
    curl -sS http://getcomposer.org/installer | php -- --install-dir=/usr/local/bin --filename=composer

VOLUME ["/.composer", "/var/www"]
WORKDIR /var/www

ADD sed.sh /.cravler/sed.sh
ADD php5-set-config.sh /.cravler/php5-set-config.sh
ADD php5-cli-config.sh /.cravler/php5-cli-config.sh
ADD docker-entrypoint.sh /.cravler/entrypoint.sh

ENTRYPOINT ["/.cravler/entrypoint.sh"]

CMD ["php", "-v"]
{'fraction_non_alphanumeric': 0.13309636650868878, 'fraction_numerical': 0.017772511848341232, 'mean_word_length': 2.25997425997426, 'pattern_counts': {'":': 0, '<': 7, '<?xml version=': 0, '>': 7, 'https://': 0, 'lorem ipsum': 0, 'www.': 2, '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': '4077068', 'n_tokens_mistral': 975, 'n_tokens_neox': 922, 'n_words': 203}