diff --git a/Dockerfile b/Dockerfile index 8c18e69..2047729 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,5 +1,7 @@ FROM quay.io/thallian/php7-fpm:latest +ENV VERSION 1.2.5 + RUN apk add --no-cache \ libressl \ tar \ @@ -27,10 +29,8 @@ RUN apk add --no-cache \ php7-pspell \ php7-apcu -RUN ln -s /usr/bin/php7 /usr/bin/php - RUN mkdir /var/lib/roundcube -RUN wget -qO- https://github.com/roundcube/roundcubemail/releases/download/1.2.3/roundcubemail-1.2.3-complete.tar.gz | tar xz -C /var/lib/roundcube --strip 1 +RUN wget -qO- https://github.com/roundcube/roundcubemail/releases/download/$VERSION/roundcubemail-$VERSION-complete.tar.gz | tar xz -C /var/lib/roundcube --strip 1 RUN chown -R nginx:nginx /var/lib/roundcube RUN mkdir /run/nginx