mirror of
https://github.com/vimagick/dockerfiles.git
synced 2024-12-14 11:23:02 +02:00
24 lines
545 B
Docker
24 lines
545 B
Docker
|
#
|
||
|
# 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 .
|
||
|
|