1
0
mirror of https://github.com/vimagick/dockerfiles.git synced 2024-11-24 08:52:15 +02:00
This commit is contained in:
kev 2015-07-17 10:51:33 +08:00
parent 4ec6c7d096
commit c8ffd5f87e

View File

@ -5,8 +5,10 @@
FROM php:5.6-apache
MAINTAINER kev <noreply@datageek.info>
RUN a2enmod rewrite
RUN docker-php-ext-install mysqli
RUN apt-get update \
&& apt-get install -y git \
&& rm -rf /var/lib/apt/lists/* \
&& docker-php-ext-install mysqli zip
WORKDIR /var/www/html
@ -20,5 +22,6 @@ RUN curl -sSL ${PIWIK_URL} -o ${PIWIK_FILE} \
&& tar xzf ${PIWIK_FILE} --strip 1 \
&& rm ${PIWIK_FILE} \
&& curl -sS https://getcomposer.org/installer | php \
&& php composer.phar install \
&& chown -R www-data:www-data .