<commit_before>FROM phusion/baseimage
MAINTAINER <NAME> <<EMAIL>>

RUN	export DEBIAN_FRONTEND=noninteractive && \

# Update packages list, upgrade installed packages

	apt-get update && \
	apt-get -y upgrade && \

# Generate password for MySQL

	apt-get install -y pwgen && \
	[[ $MYSQL_PASSWORD ]] || MYSQL_PASSWORD=`pwgen -s 20 1` && \
	echo mysql-server mysql-server/root_password password $MYSQL_PASSWORD | debconf-set-selections && \
	echo mysql-server mysql-server/root_password_again password $MYSQL_PASSWORD | debconf-set-selections && \

# Install MySQL, Nginx, PHP (both fpm and CLI)

	apt-get install -y --no-install-recommends \
		mysql-client mysql-server \
		nginx \
		php5-cli php5-curl php5-fpm php5-mcrypt php5-mysql \
		wget && \
	rm -rf /var/lib/apt/lists/* && \

# Enable PHP modules

	php5enmod mcrypt && \

# Download git master version of CleverStyle CMS
<commit_msg>Fix for warning during docker image building<commit_after>FROM phusion/baseimage
MAINTAINER <NAME> <<EMAIL>>

RUN	export DEBIAN_FRONTEND=noninteractive && \

# Update packages list, upgrade installed packages

	apt-get update && \
	apt-get -y upgrade && \

# Generate password for MySQL

	apt-get install -y pwgen && \
	test ! -z "$MYSQL_PASSWORD" || MYSQL_PASSWORD=`pwgen -s 20 1` && \
	echo mysql-server mysql-server/root_password password $MYSQL_PASSWORD | debconf-set-selections && \
	echo mysql-server mysql-server/root_password_again password $MYSQL_PASSWORD | debconf-set-selections && \

# Install MySQL, Nginx, PHP (both fpm and CLI)

	apt-get install -y --no-install-recommends \
		mysql-client mysql-server \
		nginx \
		php5-cli php5-curl php5-fpm php5-mcrypt php5-mysql \
		wget && \
	rm -rf /var/lib/apt/lists/* && \

# Enable PHP modules

	php5enmod mcrypt && \

# Download git master version of CleverStyle CMS

{'fraction_non_alphanumeric': 0.11557512383048982, 'fraction_numerical': 0.009906439185470555, 'mean_word_length': 3.649616368286445, 'pattern_counts': {'":': 0, '<': 9, '<?xml version=': 0, '>': 9, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, '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': '5785494', 'n_tokens_mistral': 666, 'n_tokens_neox': 624, 'n_words': 168}