<commit_before>FROM php:7-fpm-alpine
RUN set -ex && \
    echo "http://mirror.aarnet.edu.au/pub/alpine/v3.8/main" > /etc/apk/repositories && \
    echo "http://mirror.aarnet.edu.au/pub/alpine/v3.8/community" >> /etc/apk/repositories && \
    echo "http://mirror.aarnet.edu.au/pub/alpine/edge/testing" >> /etc/apk/repositories && \
    apk update && apk add \
    libpq libzip libzip-dev postgresql-dev gnu-libiconv \
    freetype libpng libjpeg-turbo freetype-dev libpng-dev libjpeg-turbo-dev && \
    docker-php-ext-configure gd \
    --with-gd \
    --with-freetype-dir=/usr/include/ \
    --with-png-dir=/usr/include/ \
    --with-jpeg-dir=/usr/include/ && \
    NPROC=$(grep -c ^processor /proc/cpuinfo 2>/dev/null || 1) && \
    pecl install redis && \
    docker-php-ext-install -j${NPROC} gd pdo_pgsql pdo_mysql mysqli opcache zip \
    && docker-php-ext-enable redis

RUN mkdir /www \
    && apk del freetype-dev libpng-dev libjpeg-turbo-dev postgresql-dev libzip-dev \
    && pecl update-channels \
    && rm -rf /tmp/pear ~/.pearrc \
    && rm -rf /var/cache/apk/*

ENV LD_PRELOAD /usr/lib/preloadable_libiconv.so php
WORKDIR /www

# Expose volumes
VOLUME ["/www"]<commit_msg>Dev Support Annotation<commit_after>FROM php:7-fpm-alpine
RUN set -ex && \
    echo "http://mirror.aarnet.edu.au/pub/alpine/v3.9/main" > /etc/apk/repositories && \
    echo "http://mirror.aarnet.edu.au/pub/alpine/v3.9/community" >> /etc/apk/repositories && \
    echo "http://mirror.aarnet.edu.au/pub/alpine/edge/testing" >> /etc/apk/repositories && \
    apk update && apk add \
    libpq libzip libzip-dev postgresql-dev gnu-libiconv \
    freetype libpng libjpeg-turbo freetype-dev libpng-dev libjpeg-turbo-dev && \
    docker-php-ext-configure gd \
    --with-gd \
    --with-freetype-dir=/usr/include/ \
    --with-png-dir=/usr/include/ \
    --with-jpeg-dir=/usr/include/ && \
    NPROC=$(grep -c ^processor /proc/cpuinfo 2>/dev/null || 1) && \
    pecl install redis && \
    docker-php-ext-install -j${NPROC} gd pdo_pgsql pdo_mysql mysqli opcache zip \
    && docker-php-ext-enable redis

RUN mkdir /www \
    && apk del freetype-dev libpng-dev libjpeg-turbo-dev postgresql-dev libzip-dev \
    && pecl update-channels \
    && echo "opcache.save_comments=1" >> $PHP_INI_DIR/conf.d/docker-php-ext-opcache.ini \
    && rm -rf /tmp/pear ~/.pearrc \
    && rm -rf /var/cache/apk/*

ENV LD_PRELOAD /usr/lib/preloadable_libiconv.so php
WORKDIR /www

# Expose volumes
VOLUME ["/www"]
{'fraction_non_alphanumeric': 0.1671388101983003, 'fraction_numerical': 0.006070416835289356, 'mean_word_length': 2.624633431085044, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 17, 'https://': 0, 'lorem ipsum': 0, 'www.': 4, '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': '1635663', 'n_tokens_mistral': 1037, 'n_tokens_neox': 969, 'n_words': 170}