0
0
Fork 0
mirror of https://github.com/nextcloud/docker.git synced 2025-04-19 18:36:09 +02:00

"Moved NEXTCLOUD_VERSION before the fetching nextcloud layer

This commit is contained in:
Blagovest Petrov 2017-01-23 21:51:59 +02:00
parent 9daa5044ed
commit c5c8eccbee
2 changed files with 4 additions and 4 deletions

View file

@ -1,7 +1,5 @@
FROM php:7.0-fpm-alpine FROM php:7.0-fpm-alpine
ENV NEXTCLOUD_VERSION 10.0.3
# set recommended PHP.ini settings # set recommended PHP.ini settings
# see https://secure.php.net/manual/en/opcache.installation.php # see https://secure.php.net/manual/en/opcache.installation.php
RUN { \ RUN { \
@ -49,6 +47,8 @@ RUN set -ex \
VOLUME /var/www/html VOLUME /var/www/html
ENV NEXTCLOUD_VERSION 10.0.3
RUN curl -fsSL -o nextcloud.tar.bz2 \ RUN curl -fsSL -o nextcloud.tar.bz2 \
"https://download.nextcloud.com/server/releases/nextcloud-${NEXTCLOUD_VERSION}.tar.bz2" \ "https://download.nextcloud.com/server/releases/nextcloud-${NEXTCLOUD_VERSION}.tar.bz2" \
&& curl -fsSL -o nextcloud.tar.bz2.asc \ && curl -fsSL -o nextcloud.tar.bz2.asc \

View file

@ -1,7 +1,5 @@
FROM php:7.0-fpm-alpine FROM php:7.0-fpm-alpine
ENV NEXTCLOUD_VERSION 11.0.1
# set recommended PHP.ini settings # set recommended PHP.ini settings
# see https://secure.php.net/manual/en/opcache.installation.php # see https://secure.php.net/manual/en/opcache.installation.php
RUN { \ RUN { \
@ -49,6 +47,8 @@ RUN set -ex \
VOLUME /var/www/html VOLUME /var/www/html
ENV NEXTCLOUD_VERSION 11.0.1
RUN curl -fsSL -o nextcloud.tar.bz2 \ RUN curl -fsSL -o nextcloud.tar.bz2 \
"https://download.nextcloud.com/server/releases/nextcloud-${NEXTCLOUD_VERSION}.tar.bz2" \ "https://download.nextcloud.com/server/releases/nextcloud-${NEXTCLOUD_VERSION}.tar.bz2" \
&& curl -fsSL -o nextcloud.tar.bz2.asc \ && curl -fsSL -o nextcloud.tar.bz2.asc \