<commit_before>FROM php:5.6
MAINTAINER <NAME> <<EMAIL>>

ENV TERM=xterm
RUN locale

WORKDIR /var/www

RUN ln -s /var/www/vendor/bin/codecept /usr/bin/

RUN apt-get update && apt-get install -y \
  git \
  zip \
  unzip \
  libyaml-dev \
  build-essential \
  && rm -rf /var/lib/apt/lists/*

RUN pecl install yaml

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');"

# Install PHP Modules
RUN docker-php-ext-install \
  pdo \
  pdo_mysql \
  mysqli

CMD ["php", "-S", "localhost:80", "-t", "tests/acceptance/fixtures"]<commit_msg>Fixes #21 Pecl Yaml requiring PHP 7<commit_after>FROM php:5.6
MAINTAINER <NAME> <<EMAIL>>

ENV TERM=xterm
RUN locale

WORKDIR /var/www

RUN ln -s /var/www/vendor/bin/codecept /usr/bin/

RUN apt-get update && apt-get install -y \
  git \
  zip \
  unzip \
  libyaml-dev \
  build-essential \
  && rm -rf /var/lib/apt/lists/*

RUN pecl install yaml-1.3.1

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');"

# Install PHP Modules
RUN docker-php-ext-install \
  pdo \
  pdo_mysql \
  mysqli

CMD ["php", "-S", "localhost:80", "-t", "tests/acceptance/fixtures"]
{'fraction_non_alphanumeric': 0.16690856313497823, 'fraction_numerical': 0.010159651669085631, 'mean_word_length': 3.2300613496932513, 'pattern_counts': {'":': 0, '<': 9, '<?xml version=': 0, '>': 9, 'https://': 2, 'lorem ipsum': 0, 'www.': 2, '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': '39699', 'n_tokens_mistral': 559, 'n_tokens_neox': 532, 'n_words': 129}