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

24 lines
545 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 \
&& tar xzf ${OPENCART_FILE} --strip 1 \
&& rm ${OPENCART_FILE} \
&& chown -R www-data:www-data .