1
0
mirror of https://github.com/vimagick/dockerfiles.git synced 2024-12-14 11:23:02 +02:00
dockerfiles/piwik/Dockerfile

25 lines
597 B
Docker
Raw Normal View History

2015-07-17 04:17:49 +02:00
#
# Dockerfile for piwik
#
FROM php:5.6-apache
MAINTAINER kev <noreply@datageek.info>
RUN a2enmod rewrite
RUN docker-php-ext-install mysqli
WORKDIR /var/www/html
ENV PIWIK_VER 2.14.1
ENV PIWIK_MD5 f299515138d99c46eda737761c73c2e6
ENV PIWIK_URL https://github.com/piwik/piwik/archive/$PIWIK_VER.tar.gz
ENV PIWIK_FILE piwik.tar.gz
RUN curl -sSL ${PIWIK_URL} -o ${PIWIK_FILE} \
&& echo "${PIWIK_MD5} ${PIWIK_FILE}" | md5sum -c \
2015-07-17 04:24:06 +02:00
&& tar xzf ${PIWIK_FILE} --strip 1 \
&& rm ${PIWIK_FILE} \
2015-07-17 04:36:55 +02:00
&& curl -sS https://getcomposer.org/installer | php \
2015-07-17 04:17:49 +02:00
&& chown -R www-data:www-data .