<commit_before>FROM php:7.2.0-fpm

RUN apt-get update && \
    apt-get install -y apt-utils libsqlite3-dev libsqlite3-0 libxml2-dev curl libsodium-dev zlib1g-dev libicu-dev git g++ unzip libtool make build-essential automake && \
    apt-get clean

RUN pecl install xdebug-2.6.0alpha1 && \
    pecl install redis

RUN docker-php-ext-configure intl

RUN docker-php-ext-install pdo_mysql opcache sodium intl bcmath zip

RUN docker-php-ext-enable redis

RUN cd /tmp && \
    git clone git://github.com/jedisct1/libsodium.git && \
    cd libsodium && \
    git checkout 1.0.13 && \
    ./autogen.sh && \
    ./configure && make check && \
    make install && \
    cd .. && \
    pecl install -f libsodium && \
    rm -fr libsodium

RUN { \
        echo "zend_extension=$(find /usr/local/lib/php/extensions/ -name xdebug.so)"; \
        echo 'xdebug.remote_enable=on'; \
        echo 'xdebug.remote_autostart=off'; \
        echo 'xdebug.remote_port=9000'; \<commit_msg>Update Dockerfile to use xdebug 2.6.0 and sodium<commit_after>FROM php:7.2.0-fpm

RUN apt-get update && \
    apt-get install -y apt-utils libsqlite3-dev libsqlite3-0 libxml2-dev curl libsodium-dev zlib1g-dev libicu-dev git g++ unzip libtool make build-essential automake && \
    apt-get clean

RUN pecl install xdebug-2.6.0 && \
    pecl install redis

RUN docker-php-ext-configure intl

RUN docker-php-ext-install pdo_mysql opcache sodium intl bcmath zip

RUN docker-php-ext-enable redis

RUN pecl install -f libsodium

RUN { \
        echo "zend_extension=$(find /usr/local/lib/php/extensions/ -name xdebug.so)"; \
        echo 'xdebug.remote_enable=on'; \
        echo 'xdebug.remote_autostart=off'; \
        echo 'xdebug.remote_port=9000'; \
{'fraction_non_alphanumeric': 0.12077012835472578, 'fraction_numerical': 0.022753792298716453, 'mean_word_length': 2.7609649122807016, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, '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': '882370', 'n_tokens_mistral': 641, 'n_tokens_neox': 610, 'n_words': 153}