<commit_before>FROM debian:jessie

RUN \
    echo "deb http://www.deb-multimedia.org jessie main non-free" > /etc/apt/sources.list.d/deb-multimedia.list \
    && apt-get -y -q update \
    && echo "deb https://packagecloud.io/phalcon/stable/debian/ jessie main" > /etc/apt/sources.list.d/phalcon.list \
    && echo "deb http://deb.antage.name jessie main" > /etc/apt/sources.list.d/antage.list \
    && echo "deb http://apt.newrelic.com/debian/ newrelic non-free" > /etc/apt/sources.list.d/newrelic.list \
    && DEBIAN_FRONTEND=noninteractive apt-get -y -q --no-install-recommends --force-yes install apt-transport-https deb-multimedia-keyring curl ca-certificates \
    && curl -s http://deb.antage.name/apt.key | apt-key add - \
    && curl -s https://download.newrelic.com/548C16BF.gpg | apt-key add - \
    && curl -s https://packagecloud.io/gpg.key | apt-key add - \
    && apt-get -y -q update \
    && DEBIAN_FRONTEND=noninteractive apt-get -y -q --no-install-recommends install \
        curl \
        imagemagick \
        msmtp-mta \
        apache2-mpm-prefork \
        apache2 \
        apache2-dbg \
        libapr1-dbg \
        libaprutil1-dbg \
        php5-cli \
        php5-mysql \
        php5-gd \
        php5-mcrypt \
        php5-curl \
        php5-memcache \
        php5-xsl \
        php5-xdebug \
        php5-intl \
        php5-xmlrpc \
        php5-apcu \
        php5-phalcon \
        php5-mongo \
        php5-amqp \
        php5 \
        php5-dev \
        php-pear \
        php5-dbg \
        gdb \
        ffmpeg \
        imagemagick \
        flvtool2 \
        ghostscript \
        wget \
        pngquant \
        newrelic-php5 \
    && apt-get clean \
    && rm -rf /var/lib/apt/lists/* \
    && rm /var/log/dpkg.log \
    && rm /var/www/html/index.html \
    && rmdir /var/www/html \
    && curl -#L http://downloads3.ioncube.com/loader_downloads/ioncube_loaders_lin_x86-64.tar.gz -o /tmp/ioncube.tar.gz \
    && tar xzf /tmp/ioncube.tar.gz -C /tmp/ \
    && install -m 0644 \
        /tmp/ioncube/ioncube_loader_lin_$(php -r 'printf("%s.%s", PHP_MAJOR_VERSION, PHP_MINOR_VERSION);').so \
        $(php -r 'printf("%s", PHP_EXTENSION_DIR);')/ioncube_loader.so \
    && rm -rf /tmp/ioncube \
    && rm /tmp/ioncube.tar.gz \
    && echo "; configuration for php ionCube loader module\n; priority=00\nzend_extension=ioncube_loader.so" > /etc/php5/mods-available/ioncube_loader.ini \
    && /usr/bin/pear channel-discover pear.geometria-lab.net \
    && /usr/bin/pear install geometria-lab/Rediska-beta \
    && curl -#L https://github.com/kelseyhightower/confd/releases/download/v0.10.0/confd-0.10.0-linux-amd64 -o /usr/local/bin/confd \
    && chmod 755 /usr/local/bin/confd \
    && mkdir -p /etc/confd/conf.d \
    && mkdir -p /etc/confd/templates \
    && touch /etc/confd/confd.toml \
    && gpg --keyserver pool.sks-keyservers.net --recv-keys <KEY> \
    && curl -o /usr/local/bin/gosu -SL "https://github.com/tianon/gosu/releases/download/1.7/gosu-amd64" \
    && curl -o /usr/local/bin/gosu.asc -SL "https://github.com/tianon/gosu/releases/download/1.7/gosu-amd64.asc" \
    && gpg --verify /usr/local/bin/gosu.asc \
    && rm /usr/local/bin/gosu.asc \
    && rm -r /root/.gnupg/ \
    && chmod +x /usr/local/bin/gosu \
    && curl -o /usr/local/bin/composer https://getcomposer.org/download/1.4.2/composer.phar \
    && chown root:root /usr/local/bin/composer \
    && chmod 0755 /usr/local/bin/composer<commit_msg>Add git package.<commit_after>FROM debian:jessie

RUN \
    echo "deb http://www.deb-multimedia.org jessie main non-free" > /etc/apt/sources.list.d/deb-multimedia.list \
    && apt-get -y -q update \
    && echo "deb https://packagecloud.io/phalcon/stable/debian/ jessie main" > /etc/apt/sources.list.d/phalcon.list \
    && echo "deb http://deb.antage.name jessie main" > /etc/apt/sources.list.d/antage.list \
    && echo "deb http://apt.newrelic.com/debian/ newrelic non-free" > /etc/apt/sources.list.d/newrelic.list \
    && DEBIAN_FRONTEND=noninteractive apt-get -y -q --no-install-recommends --force-yes install apt-transport-https deb-multimedia-keyring curl ca-certificates \
    && curl -s http://deb.antage.name/apt.key | apt-key add - \
    && curl -s https://download.newrelic.com/548C16BF.gpg | apt-key add - \
    && curl -s https://packagecloud.io/gpg.key | apt-key add - \
    && apt-get -y -q update \
    && DEBIAN_FRONTEND=noninteractive apt-get -y -q --no-install-recommends install \
        curl \
        imagemagick \
        msmtp-mta \
        apache2-mpm-prefork \
        apache2 \
        apache2-dbg \
        libapr1-dbg \
        libaprutil1-dbg \
        php5-cli \
        php5-mysql \
        php5-gd \
        php5-mcrypt \
        php5-curl \
        php5-memcache \
        php5-xsl \
        php5-xdebug \
        php5-intl \
        php5-xmlrpc \
        php5-apcu \
        php5-phalcon \
        php5-mongo \
        php5-amqp \
        php5 \
        php5-dev \
        php-pear \
        php5-dbg \
        gdb \
        ffmpeg \
        imagemagick \
        flvtool2 \
        ghostscript \
        wget \
        pngquant \
        newrelic-php5 \
        git \
    && apt-get clean \
    && rm -rf /var/lib/apt/lists/* \
    && rm /var/log/dpkg.log \
    && rm /var/www/html/index.html \
    && rmdir /var/www/html \
    && curl -#L http://downloads3.ioncube.com/loader_downloads/ioncube_loaders_lin_x86-64.tar.gz -o /tmp/ioncube.tar.gz \
    && tar xzf /tmp/ioncube.tar.gz -C /tmp/ \
    && install -m 0644 \
        /tmp/ioncube/ioncube_loader_lin_$(php -r 'printf("%s.%s", PHP_MAJOR_VERSION, PHP_MINOR_VERSION);').so \
        $(php -r 'printf("%s", PHP_EXTENSION_DIR);')/ioncube_loader.so \
    && rm -rf /tmp/ioncube \
    && rm /tmp/ioncube.tar.gz \
    && echo "; configuration for php ionCube loader module\n; priority=00\nzend_extension=ioncube_loader.so" > /etc/php5/mods-available/ioncube_loader.ini \
    && /usr/bin/pear channel-discover pear.geometria-lab.net \
    && /usr/bin/pear install geometria-lab/Rediska-beta \
    && curl -#L https://github.com/kelseyhightower/confd/releases/download/v0.10.0/confd-0.10.0-linux-amd64 -o /usr/local/bin/confd \
    && chmod 755 /usr/local/bin/confd \
    && mkdir -p /etc/confd/conf.d \
    && mkdir -p /etc/confd/templates \
    && touch /etc/confd/confd.toml \
    && gpg --keyserver pool.sks-keyservers.net --recv-keys <KEY> \
    && curl -o /usr/local/bin/gosu -SL "https://github.com/tianon/gosu/releases/download/1.7/gosu-amd64" \
    && curl -o /usr/local/bin/gosu.asc -SL "https://github.com/tianon/gosu/releases/download/1.7/gosu-amd64.asc" \
    && gpg --verify /usr/local/bin/gosu.asc \
    && rm /usr/local/bin/gosu.asc \
    && rm -r /root/.gnupg/ \
    && chmod +x /usr/local/bin/gosu \
    && curl -o /usr/local/bin/composer https://getcomposer.org/download/1.4.2/composer.phar \
    && chown root:root /usr/local/bin/composer \
    && chmod 0755 /usr/local/bin/composer
{'fraction_non_alphanumeric': 0.16262031317339462, 'fraction_numerical': 0.01982473782502514, 'mean_word_length': 1.9117524048515266, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 15, 'https://': 14, 'lorem ipsum': 0, 'www.': 6, 'xml': 2}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 14, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '1001907', 'n_tokens_mistral': 2827, 'n_tokens_neox': 2694, 'n_words': 416}