<commit_before>FROM romeoz/docker-phpfpm:5.5
MAINTAINER romeOz <<EMAIL>>

ENV VERSION_PECL_COUCHBASE="2.1.0"

WORKDIR /tmp/

RUN	\
	buildDeps='libcouchbase2-libevent libcouchbase-dev php5-dev' \
    && apt-get update \
    && apt-get install -y wget \
    && apt-get update \
    && wget -O/etc/apt/sources.list.d/couchbase.list http://packages.couchbase.com/ubuntu/couchbase-ubuntu1204.list \
    && wget -O- http://packages.couchbase.com/ubuntu/couchbase.key | sudo apt-key add - \
	&& apt-get update \
	&& apt-get install -y $buildDeps \
	&& apt-get install -y php5-redis php5-memcache php5-memcached php5-apcu \
	&& wget http://pecl.php.net/get/couchbase-${VERSION_PECL_COUCHBASE}.tgz \
	&& tar zxvf couchbase-${VERSION_PECL_COUCHBASE}.tgz \
	&& cd "couchbase-${VERSION_PECL_COUCHBASE}" \
	&& phpize && ./configure && make install && echo "Installed ext/couchbase-${VERSION_PECL_COUCHBASE}" \
	&& echo "extension = couchbase.so" >> /etc/php5/fpm/conf.d/couchbase.ini \
	&& echo "extension = couchbase.so" >> /etc/php5/cli/conf.d/couchbase.ini \
	&& echo "apc.enable_cli=1" >> /etc/php5/mods-available/apcu.ini \
	# Cleaning
	&& apt-get purge -y --auto-remove php5-dev wget \
	&& apt-get autoremove -y && apt-get clean \<commit_msg>Install composer when build container .<commit_after>FROM romeoz/docker-phpfpm:5.5
MAINTAINER romeOz <<EMAIL>>

ENV VERSION_PECL_COUCHBASE="2.1.0"

WORKDIR /tmp/

RUN	\
	buildDeps='libcouchbase2-libevent libcouchbase-dev php5-dev' \
    && apt-get update \
    && apt-get install -y wget \
    && apt-get update \
    && wget -O/etc/apt/sources.list.d/couchbase.list http://packages.couchbase.com/ubuntu/couchbase-ubuntu1204.list \
    && wget -O- http://packages.couchbase.com/ubuntu/couchbase.key | sudo apt-key add - \
	&& apt-get update \
	&& apt-get install -y $buildDeps \
	&& apt-get install -y php5-redis php5-memcache php5-memcached php5-apcu \
	&& wget http://pecl.php.net/get/couchbase-${VERSION_PECL_COUCHBASE}.tgz \
	&& tar zxvf couchbase-${VERSION_PECL_COUCHBASE}.tgz \
	&& cd "couchbase-${VERSION_PECL_COUCHBASE}" \
	&& phpize && ./configure && make install && echo "Installed ext/couchbase-${VERSION_PECL_COUCHBASE}" \
	&& echo "extension = couchbase.so" >> /etc/php5/fpm/conf.d/couchbase.ini \
	&& echo "extension = couchbase.so" >> /etc/php5/cli/conf.d/couchbase.ini \
	&& echo "apc.enable_cli=1" >> /etc/php5/mods-available/apcu.ini \
	# Install composer
	&& curl -sS https://getcomposer.org/installer | php -- --install-dir=/usr/local/bin --filename=composer \
	# Cleaning
	&& apt-get purge -y --auto-remove php5-dev wget \
	&& apt-get autoremove -y && apt-get clean \
{'fraction_non_alphanumeric': 0.16850934044986657, 'fraction_numerical': 0.015249714067861228, 'mean_word_length': 3.387959866220736, 'pattern_counts': {'":': 0, '<': 7, '<?xml version=': 0, '>': 19, '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': '5657163', 'n_tokens_mistral': 1085, 'n_tokens_neox': 1035, 'n_words': 173}