<commit_before>FROM		    ubuntu:14.04
MAINTAINER	<NAME> "<EMAIL>"

ADD         misc/bootstrap.sh /usr/bin/
ADD         configs/nginx_ssl.conf /root/
ADD         configs/nginx.conf /root/

ENV         DEBIAN_FRONTEND noninteractive
RUN         dpkg-divert --local --rename --add /sbin/initctl && ln -sf /bin/true /sbin/initctl

RUN         export LANG=C.UTF-8 ;\
            apt-get install -y software-properties-common ;\
            add-apt-repository -y ppa:ondrej/php5-5.6

RUN         apt-get update && \
            apt-get install -y php5-cli php5-gd php5-pgsql php5-sqlite php5-mysqlnd php5-curl php5-intl php5-mcrypt php5-ldap php5-gmp php5-apcu php5-imagick php5-fpm smbclient nginx wget

ADD         https://download.owncloud.org/community/owncloud-8.0.3.tar.bz2 /tmp/oc.tar.bz2
RUN         mkdir -p /var/www/owncloud /owncloud /var/log/cron && \
            tar -C /var/www/ -xf /tmp/oc.tar.bz2 && \
            chown -R www-data:www-data /var/www/owncloud && \
            rm -rf /var/www/owncloud/config && ln -sf /owncloud /var/www/owncloud/config && \
            chmod +x /usr/bin/bootstrap.sh && \
            rm /tmp/oc.tar.bz2

ADD         configs/php.ini /etc/php5/fpm/
ADD         configs/cron.conf /etc/oc-cron.conf
RUN         crontab /etc/oc-cron.conf

ADD         misc/extensions.sh configs/extensions.conf /var/www/owncloud/apps/
RUN         chmod a+x /var/www/owncloud/apps/extensions.sh ; \
            /var/www/owncloud/apps/extensions.sh /var/www/owncloud/apps/extensions.conf /var/www/owncloud/apps ; \
            rm /var/www/owncloud/apps/extensions.sh /var/www/owncloud/apps/extensions.conf

EXPOSE      80
EXPOSE      443

ENTRYPOINT  ["bootstrap.sh"]<commit_msg>reorganisation of repo - dockerfile<commit_after>FROM ubuntu:14.04
MAINTAINER <NAME> "<EMAIL>"

ADD misc/bootstrap.sh /usr/bin/
ADD configs/nginx_ssl.conf /root/
ADD configs/nginx.conf /root/

ENV DEBIAN_FRONTEND noninteractive
RUN dpkg-divert --local --rename --add /sbin/initctl && ln -sf /bin/true /sbin/initctl

RUN export LANG=C.UTF-8 ;\
    apt-get install -y software-properties-common ;\
    add-apt-repository -y ppa:ondrej/php5-5.6

RUN apt-get update && \
    apt-get install -y php5-cli php5-gd php5-pgsql php5-sqlite php5-mysqlnd php5-curl php5-intl php5-mcrypt php5-ldap php5-gmp php5-apcu php5-imagick php5-fpm smbclient nginx wget

ADD https://download.owncloud.org/community/owncloud-8.0.3.tar.bz2 /tmp/oc.tar.bz2
RUN mkdir -p /var/www/owncloud /owncloud /var/log/cron && \
    tar -C /var/www/ -xf /tmp/oc.tar.bz2 && \
    chown -R www-data:www-data /var/www/owncloud && \
    rm -rf /var/www/owncloud/config && ln -sf /owncloud /var/www/owncloud/config && \
    chmod +x /usr/bin/bootstrap.sh && \
    rm /tmp/oc.tar.bz2

ADD configs/php.ini /etc/php5/fpm/
ADD configs/cron.conf /etc/oc-cron.conf
RUN crontab /etc/oc-cron.conf

ADD misc/extensions.sh configs/extensions.conf /var/www/owncloud/apps/
RUN chmod a+x /var/www/owncloud/apps/extensions.sh ; \
    /var/www/owncloud/apps/extensions.sh /var/www/owncloud/apps/extensions.conf /var/www/owncloud/apps ; \
    rm /var/www/owncloud/apps/extensions.sh /var/www/owncloud/apps/extensions.conf

EXPOSE 80
EXPOSE 443

ENTRYPOINT  ["bootstrap.sh"]
{'fraction_non_alphanumeric': 0.13912231559290383, 'fraction_numerical': 0.021164021164021163, 'mean_word_length': 2.372507869884575, 'pattern_counts': {'":': 0, '<': 7, '<?xml version=': 0, '>': 7, 'https://': 2, 'lorem ipsum': 0, 'www.': 28, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 2, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '3125448', 'n_tokens_mistral': 1291, 'n_tokens_neox': 1221, 'n_words': 238}