<commit_before>FROM debian:10

RUN apt-get update \
    && apt-get install -y apt-transport-https lsb-release ca-certificates wget vim gnupg2

RUN wget -O /etc/apt/trusted.gpg.d/php.gpg https://packages.sury.org/php/apt.gpg
RUN echo "deb https://packages.sury.org/php/ $(lsb_release -sc) main" > /etc/apt/sources.list.d/php.list

RUN apt-get update && apt-get install -y \
    git unzip curl \
    apache2 libapache2-mod-php

ENV PHP_V="7.4"

RUN apt-get update \
    && apt-get install -y \
        php${PHP_V} \
        php${PHP_V}-xml \
        php${PHP_V}-mysql \
        php${PHP_V}-mbstring

RUN update-alternatives --set php /usr/bin/php${PHP_V}

RUN a2enmod actions rewrite

RUN wget "https://getcomposer.org/download/1.9.3/composer.phar" -q -O /bin/composer && chmod +x /bin/composer
<commit_msg>removed old apache module (#112)<commit_after>FROM debian:10

RUN apt-get update \
    && apt-get install -y apt-transport-https lsb-release ca-certificates wget vim gnupg2

RUN wget -O /etc/apt/trusted.gpg.d/php.gpg https://packages.sury.org/php/apt.gpg
RUN echo "deb https://packages.sury.org/php/ $(lsb_release -sc) main" > /etc/apt/sources.list.d/php.list

RUN apt-get update && apt-get install -y \
    git unzip curl \
    apache2

ENV PHP_V="7.4"

RUN apt-get update \
    && apt-get install -y \
        php${PHP_V} \
        php${PHP_V}-xml \
        php${PHP_V}-mysql \
        php${PHP_V}-mbstring

RUN update-alternatives --set php /usr/bin/php${PHP_V}

RUN a2enmod actions rewrite

RUN wget "https://getcomposer.org/download/1.9.3/composer.phar" -q -O /bin/composer && chmod +x /bin/composer

{'fraction_non_alphanumeric': 0.1484472049689441, 'fraction_numerical': 0.014906832298136646, 'mean_word_length': 2.7465116279069766, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 5, 'https://': 6, 'lorem ipsum': 0, 'www.': 0, 'xml': 2}, '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': '730027', 'n_tokens_mistral': 644, 'n_tokens_neox': 617, 'n_words': 139}