diff --git a/10.0/apache/Dockerfile b/10.0/apache/Dockerfile index 43565093..d5122a0d 100644 --- a/10.0/apache/Dockerfile +++ b/10.0/apache/Dockerfile @@ -1,4 +1,4 @@ -FROM php:5.6-apache +FROM php:7.1-apache RUN apt-get update && apt-get install -y \ bzip2 \ @@ -17,7 +17,7 @@ RUN apt-get update && apt-get install -y \ # https://docs.nextcloud.com/server/9/admin_manual/installation/source_installation.html RUN docker-php-ext-configure gd --with-png-dir=/usr --with-jpeg-dir=/usr \ && docker-php-ext-configure ldap --with-libdir=lib/x86_64-linux-gnu \ - && docker-php-ext-install gd exif intl mbstring mcrypt ldap mysql opcache pdo_mysql pdo_pgsql pgsql zip + && docker-php-ext-install gd exif intl mbstring mcrypt ldap mysqli opcache pdo_mysql pdo_pgsql pgsql zip # set recommended PHP.ini settings # see https://secure.php.net/manual/en/opcache.installation.php @@ -33,9 +33,9 @@ RUN a2enmod rewrite # PECL extensions RUN set -ex \ - && pecl install APCu-4.0.10 \ - && pecl install memcached-2.2.0 \ - && pecl install redis-2.2.8 \ + && pecl install APCu-5.1.8 \ + && pecl install memcached-3.0.2 \ + && pecl install redis-3.1.1 \ && docker-php-ext-enable apcu redis memcached RUN a2enmod rewrite diff --git a/10.0/fpm/Dockerfile b/10.0/fpm/Dockerfile index 1a365e6e..f6d076d3 100644 --- a/10.0/fpm/Dockerfile +++ b/10.0/fpm/Dockerfile @@ -1,4 +1,4 @@ -FROM php:5.6-fpm +FROM php:7.1-fpm RUN apt-get update && apt-get install -y \ bzip2 \ @@ -17,7 +17,7 @@ RUN apt-get update && apt-get install -y \ # https://docs.nextcloud.com/server/9/admin_manual/installation/source_installation.html RUN docker-php-ext-configure gd --with-png-dir=/usr --with-jpeg-dir=/usr \ && docker-php-ext-configure ldap --with-libdir=lib/x86_64-linux-gnu \ - && docker-php-ext-install gd exif intl mbstring mcrypt ldap mysql opcache pdo_mysql pdo_pgsql pgsql zip + && docker-php-ext-install gd exif intl mbstring mcrypt ldap mysqli opcache pdo_mysql pdo_pgsql pgsql zip # set recommended PHP.ini settings # see https://secure.php.net/manual/en/opcache.installation.php @@ -32,9 +32,9 @@ RUN { \ # PECL extensions RUN set -ex \ - && pecl install APCu-4.0.10 \ - && pecl install memcached-2.2.0 \ - && pecl install redis-2.2.8 \ + && pecl install APCu-5.1.8 \ + && pecl install memcached-3.0.2 \ + && pecl install redis-3.1.1 \ && docker-php-ext-enable apcu redis memcached ENV NEXTCLOUD_VERSION 10.0.3 diff --git a/11.0/apache/Dockerfile b/11.0/apache/Dockerfile index d645d8b8..bd43c398 100644 --- a/11.0/apache/Dockerfile +++ b/11.0/apache/Dockerfile @@ -1,4 +1,4 @@ -FROM php:5.6-apache +FROM php:7.1-apache RUN apt-get update && apt-get install -y \ bzip2 \ @@ -17,7 +17,7 @@ RUN apt-get update && apt-get install -y \ # https://docs.nextcloud.com/server/9/admin_manual/installation/source_installation.html RUN docker-php-ext-configure gd --with-png-dir=/usr --with-jpeg-dir=/usr \ && docker-php-ext-configure ldap --with-libdir=lib/x86_64-linux-gnu \ - && docker-php-ext-install gd exif intl mbstring mcrypt ldap mysql opcache pdo_mysql pdo_pgsql pgsql zip + && docker-php-ext-install gd exif intl mbstring mcrypt ldap mysqli opcache pdo_mysql pdo_pgsql pgsql zip # set recommended PHP.ini settings # see https://secure.php.net/manual/en/opcache.installation.php @@ -33,9 +33,9 @@ RUN a2enmod rewrite # PECL extensions RUN set -ex \ - && pecl install APCu-4.0.10 \ - && pecl install memcached-2.2.0 \ - && pecl install redis-2.2.8 \ + && pecl install APCu-5.1.8 \ + && pecl install memcached-3.0.2 \ + && pecl install redis-3.1.1 \ && docker-php-ext-enable apcu redis memcached RUN a2enmod rewrite diff --git a/11.0/fpm/Dockerfile b/11.0/fpm/Dockerfile index 35c12645..f368d882 100644 --- a/11.0/fpm/Dockerfile +++ b/11.0/fpm/Dockerfile @@ -1,4 +1,4 @@ -FROM php:5.6-fpm +FROM php:7.1-fpm RUN apt-get update && apt-get install -y \ bzip2 \ @@ -17,7 +17,7 @@ RUN apt-get update && apt-get install -y \ # https://docs.nextcloud.com/server/9/admin_manual/installation/source_installation.html RUN docker-php-ext-configure gd --with-png-dir=/usr --with-jpeg-dir=/usr \ && docker-php-ext-configure ldap --with-libdir=lib/x86_64-linux-gnu \ - && docker-php-ext-install gd exif intl mbstring mcrypt ldap mysql opcache pdo_mysql pdo_pgsql pgsql zip + && docker-php-ext-install gd exif intl mbstring mcrypt ldap mysqli opcache pdo_mysql pdo_pgsql pgsql zip # set recommended PHP.ini settings # see https://secure.php.net/manual/en/opcache.installation.php @@ -32,9 +32,9 @@ RUN { \ # PECL extensions RUN set -ex \ - && pecl install APCu-4.0.10 \ - && pecl install memcached-2.2.0 \ - && pecl install redis-2.2.8 \ + && pecl install APCu-5.1.8 \ + && pecl install memcached-3.0.2 \ + && pecl install redis-3.1.1 \ && docker-php-ext-enable apcu redis memcached ENV NEXTCLOUD_VERSION 11.0.1 diff --git a/9.0/apache/Dockerfile b/9.0/apache/Dockerfile index 3fead994..21bae75a 100644 --- a/9.0/apache/Dockerfile +++ b/9.0/apache/Dockerfile @@ -1,4 +1,4 @@ -FROM php:5.6-apache +FROM php:7.1-apache RUN apt-get update && apt-get install -y \ bzip2 \ @@ -17,7 +17,7 @@ RUN apt-get update && apt-get install -y \ # https://docs.nextcloud.com/server/9/admin_manual/installation/source_installation.html RUN docker-php-ext-configure gd --with-png-dir=/usr --with-jpeg-dir=/usr \ && docker-php-ext-configure ldap --with-libdir=lib/x86_64-linux-gnu \ - && docker-php-ext-install gd exif intl mbstring mcrypt ldap mysql opcache pdo_mysql pdo_pgsql pgsql zip + && docker-php-ext-install gd exif intl mbstring mcrypt ldap mysqli opcache pdo_mysql pdo_pgsql pgsql zip # set recommended PHP.ini settings # see https://secure.php.net/manual/en/opcache.installation.php @@ -33,9 +33,9 @@ RUN a2enmod rewrite # PECL extensions RUN set -ex \ - && pecl install APCu-4.0.10 \ - && pecl install memcached-2.2.0 \ - && pecl install redis-2.2.8 \ + && pecl install APCu-5.1.8 \ + && pecl install memcached-3.0.2 \ + && pecl install redis-3.1.1 \ && docker-php-ext-enable apcu redis memcached RUN a2enmod rewrite diff --git a/9.0/fpm/Dockerfile b/9.0/fpm/Dockerfile index 9d41eaf7..cbfef696 100644 --- a/9.0/fpm/Dockerfile +++ b/9.0/fpm/Dockerfile @@ -1,4 +1,4 @@ -FROM php:5.6-fpm +FROM php:7.1-fpm RUN apt-get update && apt-get install -y \ bzip2 \ @@ -17,7 +17,7 @@ RUN apt-get update && apt-get install -y \ # https://docs.nextcloud.com/server/9/admin_manual/installation/source_installation.html RUN docker-php-ext-configure gd --with-png-dir=/usr --with-jpeg-dir=/usr \ && docker-php-ext-configure ldap --with-libdir=lib/x86_64-linux-gnu \ - && docker-php-ext-install gd exif intl mbstring mcrypt ldap mysql opcache pdo_mysql pdo_pgsql pgsql zip + && docker-php-ext-install gd exif intl mbstring mcrypt ldap mysqli opcache pdo_mysql pdo_pgsql pgsql zip # set recommended PHP.ini settings # see https://secure.php.net/manual/en/opcache.installation.php @@ -32,9 +32,9 @@ RUN { \ # PECL extensions RUN set -ex \ - && pecl install APCu-4.0.10 \ - && pecl install memcached-2.2.0 \ - && pecl install redis-2.2.8 \ + && pecl install APCu-5.1.8 \ + && pecl install memcached-3.0.2 \ + && pecl install redis-3.1.1 \ && docker-php-ext-enable apcu redis memcached ENV NEXTCLOUD_VERSION 9.0.56 diff --git a/Dockerfile.template b/Dockerfile.template index 3d713793..6dd989a5 100644 --- a/Dockerfile.template +++ b/Dockerfile.template @@ -1,4 +1,4 @@ -FROM php:5.6-%%VARIANT%% +FROM php:7.1-%%VARIANT%% RUN apt-get update && apt-get install -y \ bzip2 \ @@ -17,7 +17,7 @@ RUN apt-get update && apt-get install -y \ # https://docs.nextcloud.com/server/9/admin_manual/installation/source_installation.html RUN docker-php-ext-configure gd --with-png-dir=/usr --with-jpeg-dir=/usr \ && docker-php-ext-configure ldap --with-libdir=lib/x86_64-linux-gnu \ - && docker-php-ext-install gd exif intl mbstring mcrypt ldap mysql opcache pdo_mysql pdo_pgsql pgsql zip + && docker-php-ext-install gd exif intl mbstring mcrypt ldap mysqli opcache pdo_mysql pdo_pgsql pgsql zip # set recommended PHP.ini settings # see https://secure.php.net/manual/en/opcache.installation.php @@ -33,9 +33,9 @@ RUN a2enmod rewrite # PECL extensions RUN set -ex \ - && pecl install APCu-4.0.10 \ - && pecl install memcached-2.2.0 \ - && pecl install redis-2.2.8 \ + && pecl install APCu-5.1.8 \ + && pecl install memcached-3.0.2 \ + && pecl install redis-3.1.1 \ && docker-php-ext-enable apcu redis memcached RUN a2enmod rewrite