<commit_before>FROM ubuntu:trusty
MAINTAINER <NAME><<EMAIL>>

# Create and enter WORKDIR

RUN mkdir -p /srv
WORKDIR /srv

# Disable interactive during package installation

ENV DEBIAN_FRONTEND noninteractive

# Prepare for package installation

## Change apt sources
ADD apt/sources.list /etc/apt/

## Install wget
RUN apt-get -qy update && apt-get -qy install wget apt-transport-https && rm -rf /var/lib/apt/lists/*

## Add GPG keys
RUN wget -qO- https://deb.nodesource.com/gpgkey/nodesource.gpg.key | apt-key add -
RUN wget -qO- http://nginx.org/keys/nginx_signing.key | apt-key add -

## Add 3rd party sources
ADD apt/nginx.list   /etc/apt/sources.list.d/
ADD apt/nodejs.list   /etc/apt/sources.list.d/

# Install packages

RUN apt-get -qy update && apt-get -qy install git \
                                              vim \
                                              wget \
                                              nginx \
                                              nodejs \
                                              supervisor \
                                              openssh-server \
                                              dpkg-dev \
                                              php5 \
                                              php5-mysql \
                                              php5-gd \
                                              php5-dev \
                                              php5-curl \
                                              php-apc \
                                              php5-cli \
                                              php5-json \
                                              php5-fpm \
                                              && rm -rf /var/lib/apt/lists/*

# Add Sources

ADD libphutil   ./libphutil
ADD arcanist    ./arcanist
ADD phabricator ./phabricator

# Add Users

# Add www user for general http file permission<commit_msg>add npm install ws for aphlict<commit_after>FROM ubuntu:trusty
MAINTAINER <NAME><<EMAIL>>

# Create and enter WORKDIR

RUN mkdir -p /srv
WORKDIR /srv

# Disable interactive during package installation

ENV DEBIAN_FRONTEND noninteractive

# Prepare for package installation

## Change apt sources
ADD apt/sources.list /etc/apt/

## Install wget
RUN apt-get -qy update && apt-get -qy install wget apt-transport-https && rm -rf /var/lib/apt/lists/*

## Add GPG keys
RUN wget -qO- https://deb.nodesource.com/gpgkey/nodesource.gpg.key | apt-key add -
RUN wget -qO- http://nginx.org/keys/nginx_signing.key | apt-key add -

## Add 3rd party sources
ADD apt/nginx.list   /etc/apt/sources.list.d/
ADD apt/nodejs.list   /etc/apt/sources.list.d/

# Install packages

RUN apt-get -qy update && apt-get -qy install git \
                                              vim \
                                              wget \
                                              nginx \
                                              nodejs \
                                              supervisor \
                                              openssh-server \
                                              dpkg-dev \
                                              php5 \
                                              php5-mysql \
                                              php5-gd \
                                              php5-dev \
                                              php5-curl \
                                              php-apc \
                                              php5-cli \
                                              php5-json \
                                              php5-fpm \
                                              && rm -rf /var/lib/apt/lists/*

# Add Sources

ADD libphutil   ./libphutil
ADD arcanist    ./arcanist
ADD phabricator ./phabricator
RUN cd phabricator/support/aphlict/server/ && npm install ws

# Add Users

# Add www user for general http file permission
{'fraction_non_alphanumeric': 0.07247845919918905, 'fraction_numerical': 0.00456158134820071, 'mean_word_length': 0.8418105459636024, 'pattern_counts': {'":': 0, '<': 9, '<?xml version=': 0, '>': 9, 'https://': 2, 'lorem ipsum': 0, 'www.': 2, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 68, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '4382632', 'n_tokens_mistral': 939, 'n_tokens_neox': 891, 'n_words': 252}