<commit_before>FROM php:5.6-fpm

RUN apt-get update -y && apt-get install -y \
	libmcrypt-dev \
	libpng-dev \
	libjpeg-dev

RUN docker-php-ext-configure gd --with-jpeg-dir=/usr/include/ \
	&& docker-php-ext-install \
	pdo_mysql \
	gd \
	mcrypt \
	zip

RUN chown -R www-data:www-data /var/www

# # Install php dependencies
COPY --from=composer:1.5 /usr/bin/composer /usr/bin/composer
# Install app dependencies
COPY composer.json /var/www/composer.json
COPY database /var/www/database
COPY tests/TestCase.php /var/www/tests/TestCase.php

WORKDIR /var/www

RUN composer install --no-plugins --no-scripts --no-interaction
<commit_msg>add exif extension to docker-php-ext-install command<commit_after>FROM php:5.6-fpm

RUN apt-get update -y && apt-get install -y \
	libmcrypt-dev \
	libpng-dev \
	libjpeg-dev

RUN docker-php-ext-configure gd --with-jpeg-dir=/usr/include/ \
	&& docker-php-ext-install \
	pdo_mysql \
	gd \
	mcrypt \
	zip \
    exif

RUN chown -R www-data:www-data /var/www

# # Install php dependencies
COPY --from=composer:1.5 /usr/bin/composer /usr/bin/composer
# Install app dependencies
COPY composer.json /var/www/composer.json
COPY database /var/www/database
COPY tests/TestCase.php /var/www/tests/TestCase.php

WORKDIR /var/www

RUN composer install --no-plugins --no-scripts --no-interaction

{'fraction_non_alphanumeric': 0.1326219512195122, 'fraction_numerical': 0.006097560975609756, 'mean_word_length': 3.1550632911392404, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 10, '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': '1583109', 'n_tokens_mistral': 503, 'n_tokens_neox': 479, 'n_words': 112}