From c8ffd5f87eea81f9372dfb04aed2b31cb31c575a Mon Sep 17 00:00:00 2001 From: kev Date: Fri, 17 Jul 2015 10:51:33 +0800 Subject: [PATCH] update --- piwik/Dockerfile | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/piwik/Dockerfile b/piwik/Dockerfile index 032123d..f9707e5 100644 --- a/piwik/Dockerfile +++ b/piwik/Dockerfile @@ -5,8 +5,10 @@ FROM php:5.6-apache MAINTAINER kev -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 .