<commit_before>FROM ubuntu:trusty

MAINTAINER <NAME>

RUN apt-get update \
    && DEBIAN_FRONTEND=noninteractive apt-get install -y --no-install-recommends \
    apache2-utils \
    php5-apcu \
    php5-cli \
    php5-curl \
    php5-gd \
    php5-mcrypt \
    phpmyadmin \
    unzip \
    && rm -rf /var/lib/apt/lists/* /var/cache/apt/*

# Configure Apache
COPY files/apache-shopware.conf /etc/apache2/sites-available/000-default.conf
RUN a2enmod rewrite \
    && sed --in-place "s/^upload_max_filesize.*$/upload_max_filesize = 10M/" /etc/php5/apache2/php.ini \
    && php5enmod mcrypt

# Install Shopware
# COPY files/install_5.0.1_2ec5c1c8427afdc5654aec88bf51a80db93304ef.zip /tmp/shopware.zip
ADD http://releases.s3.shopware.com.s3.amazonaws.com/install_5.0.1_2ec5c1c8427afdc5654aec88bf51a80db93304ef.zip /tmp/shopware.zip

# Install ioncube
# COPY files/ioncube_loaders_lin_x86-64.tar.bz2 /tmp/ioncube_loaders_lin_x86-64.tar.bz2
ADD http://downloads3.ioncube.com/loader_downloads/ioncube_loaders_lin_x86-64.tar.bz2 /tmp/
RUN tar xvjfC /tmp/ioncube_loaders_lin_x86-64.tar.bz2 /tmp/ \
    && rm /tmp/ioncube_loaders_lin_x86-64.tar.bz2 \
    && mkdir -p /usr/local/ioncube \
    && cp /tmp/ioncube/ioncube_loader_lin_5.5.so /usr/local/ioncube \
    && rm -rf /tmp/ioncube
COPY files/00-ioncube.ini /etc/php5/apache2/conf.d/00-ioncube.ini
COPY files/00-ioncube.ini /etc/php5/cli/conf.d/00-ioncube.ini
<commit_msg>Switch to 5.1.4<commit_after>FROM ubuntu:trusty

MAINTAINER <NAME>

RUN apt-get update \
    && DEBIAN_FRONTEND=noninteractive apt-get install -y --no-install-recommends \
    apache2-utils \
    php5-apcu \
    php5-cli \
    php5-curl \
    php5-gd \
    php5-mcrypt \
    phpmyadmin \
    unzip \
    && rm -rf /var/lib/apt/lists/* /var/cache/apt/*

# Configure Apache
COPY files/apache-shopware.conf /etc/apache2/sites-available/000-default.conf
RUN a2enmod rewrite \
    && sed --in-place "s/^upload_max_filesize.*$/upload_max_filesize = 10M/" /etc/php5/apache2/php.ini \
    && php5enmod mcrypt

# Install Shopware
# COPY files/install_5.1.4_2a6c1d025af042525558ba10d738eeb19ed75ff4.zip /tmp/shopware.zip
ADD http://releases.s3.shopware.com.s3.amazonaws.com/install_5.1.4_2a6c1d025af042525558ba10d738eeb19ed75ff4.zip /tmp/shopware.zip

# Install ioncube
# COPY files/ioncube_loaders_lin_x86-64.tar.bz2 /tmp/ioncube_loaders_lin_x86-64.tar.bz2
ADD http://downloads3.ioncube.com/loader_downloads/ioncube_loaders_lin_x86-64.tar.bz2 /tmp/
RUN tar xvjfC /tmp/ioncube_loaders_lin_x86-64.tar.bz2 /tmp/ \
    && rm /tmp/ioncube_loaders_lin_x86-64.tar.bz2 \
    && mkdir -p /usr/local/ioncube \
    && cp /tmp/ioncube/ioncube_loader_lin_5.5.so /usr/local/ioncube \
    && rm -rf /tmp/ioncube
COPY files/00-ioncube.ini /etc/php5/apache2/conf.d/00-ioncube.ini
COPY files/00-ioncube.ini /etc/php5/cli/conf.d/00-ioncube.ini

{'fraction_non_alphanumeric': 0.13498233215547703, 'fraction_numerical': 0.07879858657243816, 'mean_word_length': 3.2829046898638428, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 5, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, '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': '3331460', 'n_tokens_mistral': 1364, 'n_tokens_neox': 1236, 'n_words': 156}