mirror of
https://github.com/hoellen/dockerfiles.git
synced 2025-05-12 07:09:17 +00:00
piwik: update to 2.16.1 (critical)
This commit is contained in:
parent
95919c983a
commit
2bae1ca56d
@ -1,7 +1,9 @@
|
|||||||
FROM alpine:3.3
|
FROM alpine:3.3
|
||||||
MAINTAINER Wonderfall <wonderfall@mondedie.fr>
|
MAINTAINER Wonderfall <wonderfall@mondedie.fr>
|
||||||
|
|
||||||
ENV VER=2.16.0 GID=991 UID=991
|
ARG VERSION=2.16.1
|
||||||
|
|
||||||
|
ENV GID=991 UID=991
|
||||||
|
|
||||||
RUN echo "@testing http://nl.alpinelinux.org/alpine/edge/testing" >> /etc/apk/repositories \
|
RUN echo "@testing http://nl.alpinelinux.org/alpine/edge/testing" >> /etc/apk/repositories \
|
||||||
&& echo "@commuedge http://nl.alpinelinux.org/alpine/edge/community" >> /etc/apk/repositories \
|
&& echo "@commuedge http://nl.alpinelinux.org/alpine/edge/community" >> /etc/apk/repositories \
|
||||||
@ -26,7 +28,7 @@ RUN echo "@testing http://nl.alpinelinux.org/alpine/edge/testing" >> /etc/apk/re
|
|||||||
&& echo 'geoip.custom_directory=/piwik/misc' >> /etc/php/php.ini \
|
&& echo 'geoip.custom_directory=/piwik/misc' >> /etc/php/php.ini \
|
||||||
&& rm -f /var/cache/apk/*
|
&& rm -f /var/cache/apk/*
|
||||||
|
|
||||||
RUN wget -qO- http://builds.piwik.org/piwik-$VER.tar.gz | tar xz
|
RUN wget -qO- http://builds.piwik.org/piwik-$VERSION.tar.gz | tar xz
|
||||||
|
|
||||||
RUN wget -q http://geolite.maxmind.com/download/geoip/database/GeoLiteCity.dat.gz -P /piwik/misc \
|
RUN wget -q http://geolite.maxmind.com/download/geoip/database/GeoLiteCity.dat.gz -P /piwik/misc \
|
||||||
&& gzip -d /piwik/misc/GeoLiteCity.dat.gz \
|
&& gzip -d /piwik/misc/GeoLiteCity.dat.gz \
|
||||||
@ -43,6 +45,6 @@ VOLUME /config
|
|||||||
EXPOSE 80
|
EXPOSE 80
|
||||||
|
|
||||||
LABEL description "Open web analytics platform" \
|
LABEL description "Open web analytics platform" \
|
||||||
piwik "Piwik v$VER"
|
piwik "Piwik v$VERSION"
|
||||||
|
|
||||||
CMD ["tini","--","run.sh"]
|
CMD ["tini","--","run.sh"]
|
||||||
|
Loading…
x
Reference in New Issue
Block a user