<commit_before>FROM php:7

# install pdo_sqlite extension
RUN apt-get update && apt-get install --yes libsqlite3-dev git zlib1g-dev
RUN docker-php-ext-install pdo pdo_sqlite zip mbstring

# set timezone to UTC
RUN echo "date.timezone = UTC" > /usr/local/etc/php/conf.d/date.timezone.ini

# install composer
RUN apt-get install --yes wget
RUN php -r "copy('https://getcomposer.org/installer', 'composer-setup.php');"
RUN php -r "if (hash_file('SHA384', 'composer-setup.php') === 'e115a8dc7871f15d853148a7fbac7da27d6c0030b848d9b3dc09e2a0388afed865e6a3d6b3c0fad45c48e2b5fc1196ae') { echo 'Installer verified'; } else { echo 'Installer corrupt'; unlink('composer-setup.php'); } echo PHP_EOL;"
RUN php composer-setup.php --install-dir=/usr/local/bin --filename=composer
RUN php -r "unlink('composer-setup.php');"<commit_msg>removed hash check on composer installer as it has changed and will change<commit_after>FROM php:7

# install pdo_sqlite extension
RUN apt-get update && apt-get install --yes libsqlite3-dev git zlib1g-dev
RUN docker-php-ext-install pdo pdo_sqlite zip mbstring

# set timezone to UTC
RUN echo "date.timezone = UTC" > /usr/local/etc/php/conf.d/date.timezone.ini

# install composer
RUN apt-get install --yes wget
RUN php -r "copy('https://getcomposer.org/installer', 'composer-setup.php');"
RUN php composer-setup.php --install-dir=/usr/local/bin --filename=composer
RUN php -r "unlink('composer-setup.php');"
{'fraction_non_alphanumeric': 0.13113604488078542, 'fraction_numerical': 0.04488078541374474, 'mean_word_length': 4.945833333333334, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 5, 'https://': 2, 'lorem ipsum': 0, 'www.': 0, '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': '2842700', 'n_tokens_mistral': 552, 'n_tokens_neox': 514, 'n_words': 128}