<commit_before>FROM php:apache

RUN apt-get update && apt-get install -y wget \
    && wget -qO- https://www.imagemagick.org/download/releases/ImageMagick-6.9.2-10.tar.xz \
     | tar xJ -C /tmp/ \
    && cd /tmp/ \
    && ./configure && make \
    && make install \
    && ldconfig /usr/local/lib

RUN pecl install imagick \
    && docker-php-ext-enable imagick

RUN rm -rf /var/lib/apt/lists/* \
    && apt-get purge -y --auto-remove -o APT::AutoRemove::RecommendsImportant=false wget \
    && rm -rf /tmp/ImageMagick*

RUN { \
        echo; \
        echo "<Directory \"/var/www/html\">"; \
        echo '  Options Indexes'; \
        echo '  Require all granted'; \
        echo '</Directory>'; \
        echo; \
    } >> ${HTTPD_PREFIX}/conf/httpd.conf<commit_msg>fix a bug<commit_after>FROM php:apache

RUN apt-get update && apt-get install -y wget \
    && wget -qO- https://www.imagemagick.org/download/releases/ImageMagick-6.9.2-10.tar.xz \
     | tar xJ -C /tmp/ \
    && cd /tmp/ImageMagick-6.9.2-10 \
    && ./configure && make \
    && make install \
    && ldconfig /usr/local/lib

RUN pecl install imagick \
    && docker-php-ext-enable imagick

RUN rm -rf /var/lib/apt/lists/* \
    && apt-get purge -y --auto-remove -o APT::AutoRemove::RecommendsImportant=false wget \
    && rm -rf /tmp/ImageMagick*

RUN { \
        echo; \
        echo "<Directory \"/var/www/html\">"; \
        echo '  Options Indexes'; \
        echo '  Require all granted'; \
        echo '</Directory>'; \
        echo; \
    } >> ${HTTPD_PREFIX}/conf/httpd.conf
{'fraction_non_alphanumeric': 0.17117117117117117, 'fraction_numerical': 0.009652509652509652, 'mean_word_length': 1.9846449136276392, 'pattern_counts': {'":': 0, '<': 7, '<?xml version=': 0, '>': 11, 'https://': 2, 'lorem ipsum': 0, 'www.': 4, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 2, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '5142521', 'n_tokens_mistral': 569, 'n_tokens_neox': 553, 'n_words': 121}