<commit_before>FROM dianpou/ubuntu

MAINTAINER <NAME> <<EMAIL>>

# Nginx

RUN echo "deb http://ppa.launchpad.net/nginx/stable/ubuntu $(lsb_release -sc) main" && \
    tee /etc/apt/sources.list.d/nginx-stable.list && \
    apt-key adv --keyserver keyserver.ubuntu.com --recv-keys C300EE8C

# PHP
RUN add-apt-repository ppa:ondrej/php5-5.6

RUN apt-get update
RUN apt-get -y upgrade
RUN apt-get install -y --force-yes nginx php5-fpm php5-mcrypt php5-sqlite php5-cli php5-xcache php5-curl php5-json php5-gd php5-geoip php5-imagick php5-ldap php5-mysql php5-oauth php5-pgsql php5-redis

# Config
RUN echo "daemon off;" >> /etc/nginx/nginx.conf
RUN sed -i -e "s/short_open_tag = Off/short_open_tag = On/g" /etc/php5/fpm/php.ini<commit_msg>cause of ppa package, It must add force yes to upgrade<commit_after>FROM dianpou/ubuntu

MAINTAINER <NAME> <<EMAIL>>

# Nginx

RUN echo "deb http://ppa.launchpad.net/nginx/stable/ubuntu $(lsb_release -sc) main" && \
    tee /etc/apt/sources.list.d/nginx-stable.list && \
    apt-key adv --keyserver keyserver.ubuntu.com --recv-keys C300EE8C

# PHP
RUN add-apt-repository ppa:ondrej/php5-5.6

RUN apt-get update
RUN apt-get -y --force-yes upgrade
RUN apt-get install -y --force-yes nginx php5-fpm php5-mcrypt php5-sqlite php5-cli php5-xcache php5-curl php5-json php5-gd php5-geoip php5-imagick php5-ldap php5-mysql php5-oauth php5-pgsql php5-redis

# Config
RUN echo "daemon off;" >> /etc/nginx/nginx.conf
RUN sed -i -e "s/short_open_tag = Off/short_open_tag = On/g" /etc/php5/fpm/php.ini
{'fraction_non_alphanumeric': 0.13543721236028927, 'fraction_numerical': 0.030243261012491782, 'mean_word_length': 3.5705705705705704, 'pattern_counts': {'":': 0, '<': 9, '<?xml version=': 0, '>': 13, 'https://': 0, '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': '5254320', 'n_tokens_mistral': 676, 'n_tokens_neox': 610, 'n_words': 144}