From 40c2eda900cbd874724bd4684ce84568341cb2a3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Denny=20Sch=C3=A4fer?= <denny.schaefer@smaato.com> Date: Fri, 18 Aug 2017 20:21:37 +0200 Subject: [PATCH] Update Piwigo version to 2.9.1 - Update Piwigo - Move from hard coded value to ARG variable --- Dockerfile | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index 17bc9f5..af1f90d 100644 --- a/Dockerfile +++ b/Dockerfile @@ -5,6 +5,8 @@ MAINTAINER Mathieu Ruellan <mathieu.ruellan@gmail.com> ENV DEBIAN_FRONTEND noninteractive ENV HOME /root +ARG PIWIGO_VERSION="2.9.1" + RUN apt-get update \ && apt-get upgrade -yy \ && apt-get install apache2 libapache2-mod-php5 -yy \ @@ -13,7 +15,7 @@ RUN apt-get update \ && apt-get install -yy php5-gd php5-curl php5-ffmpeg dcraw mediainfo ffmpeg \ && rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/* -RUN wget -q -O piwigo.zip http://piwigo.org/download/dlcounter.php?code=2.9.0 && \ +RUN wget -q -O piwigo.zip http://piwigo.org/download/dlcounter.php?code=$PIWIGO_VERSION && \ unzip piwigo.zip && \ rm /var/www/* -rf && \ mv piwigo/* /var/www && \ -- GitLab