<commit_before>FROM php:7.0.3-apache

# typo3 dependencies
RUN apt-get update && apt-get install -y ca-certificates \
        vim \
        wget \
        curl \
        libfreetype6-dev \
        libjpeg62-turbo-dev \
        libmcrypt-dev \
        libpng12-dev \
        graphicsmagick \
        graphicsmagick-imagemagick-compat \
        mysql-client \
        libmemcached-dev \
        libxml2-dev \
        libldap2-dev \
        libapache2-mod-rpaf \
    && docker-php-ext-configure gd --with-freetype-dir=/usr/include/ --with-jpeg-dir=/usr/include/ \
    && docker-php-ext-configure ldap --with-libdir=lib/x86_64-linux-gnu \
    && docker-php-ext-install gd pdo_mysql mysqli zip ldap iconv mcrypt mbstring soap \
#    && pecl install memcache \
#    && pecl install memcached \
#    && pecl install xdebug \
    && rm -r /var/lib/apt/lists/*

ADD apache2.conf /etc/apache2/apache2.conf 
RUN a2enmod rewrite                        
RUN a2enmod ssl                            
ADD php.ini /usr/local/etc/php/php.ini     
ADD typo3setup.sh /var/www
RUN chmod +x /var/www/typo3setup.sh
RUN /var/www/typo3setup.sh

EXPOSE 80                                  
EXPOSE 443                                 

<commit_msg>Updated Dockerfile for automatic db setup<commit_after>FROM php:7.0.3-apache

# typo3 dependencies
RUN apt-get update && apt-get install -y ca-certificates \
        vim \
        wget \
        curl \
        libfreetype6-dev \
        libjpeg62-turbo-dev \
        libmcrypt-dev \
        libpng12-dev \
        graphicsmagick \
        graphicsmagick-imagemagick-compat \
        mysql-client \
        libmemcached-dev \
        libxml2-dev \
        libldap2-dev \
        libapache2-mod-rpaf \
    && docker-php-ext-configure gd --with-freetype-dir=/usr/include/ --with-jpeg-dir=/usr/include/ \
    && docker-php-ext-configure ldap --with-libdir=lib/x86_64-linux-gnu \
    && docker-php-ext-install gd pdo_mysql mysqli zip ldap iconv mcrypt mbstring soap \
#    && pecl install memcache \
#    && pecl install memcached \
#    && pecl install xdebug \
    && rm -r /var/lib/apt/lists/*

ADD apache2.conf /etc/apache2/apache2.conf 
RUN a2enmod rewrite                        
RUN a2enmod ssl                            
ADD php.ini /usr/local/etc/php/php.ini     
ADD typo3setup.sh /var/www
RUN chmod +x /var/www/typo3setup.sh
RUN /var/www/typo3setup.sh
ADD dbsetup.sh /var/www/dbsetup.sh
RUN chmod +x /var/www/dbsetup.sh
ADD run.sh /var/www/run.sh
RUN chmod +x /var/www/run.sh

EXPOSE 80                                  
EXPOSE 443                                 

CMD [/var/www/run.sh]
{'fraction_non_alphanumeric': 0.10783938814531549, 'fraction_numerical': 0.022179732313575527, 'mean_word_length': 1.6238716148445336, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 9, 'xml': 2}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 4, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '6223634', 'n_tokens_mistral': 940, 'n_tokens_neox': 884, 'n_words': 179}