<commit_before>FROM registry.service.opg.digital/opguk/php-fpm

RUN apt-get update && apt-get install -y php5-mysql php5-curl libpng12-dev libjpeg-dev && \
    apt-get clean && apt-get autoremove && \
    rm -rf /var/lib/cache/* /var/lib/log/* /tmp/* /var/tmp/*

# Add wordpress configuration templates
ADD docker/confd /etc/confd

# Remove files included from php-fpm container
RUN rm -rf /app/* && \
    ln -s /data /app/public

USER root

ENV OPG_SERVICE wordpress<commit_msg>Initial pass at installing base wordpress version into the php-rof container<commit_after>FROM registry.service.opg.digital/opguk/php-fpm

RUN apt-get update && apt-get install -y php5-mysql php5-curl libpng12-dev libjpeg-dev && \
    apt-get clean && apt-get autoremove && \
    rm -rf /var/lib/cache/* /var/lib/log/* /tmp/* /var/tmp/* && \
    mkdir -p /data && \
    chown app:app /data

USER app

RUN cd /tmp && \
    wget https://en-gb.wordpress.org/latest-en_GB.tar.gz && \
    tar -xf latest-en_GB.tar.gz && \
    mv wordpress/* /data/. && \
    rm -rf wordpress latest-en_GB.tar.gz

# Add wordpress configuration templates
ADD docker/confd /etc/confd

USER root

# Remove files included from php-fpm container
RUN rm -rf /app/* && \
    ln -s /data /app/public

ENV OPG_SERVICE wordpress
{'fraction_non_alphanumeric': 0.1357927786499215, 'fraction_numerical': 0.006279434850863423, 'mean_word_length': 2.772189349112426, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 1, 'lorem ipsum': 0, 'www.': 0, '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': '5663842', 'n_tokens_mistral': 470, 'n_tokens_neox': 448, 'n_words': 128}