Merge pull request #34 from tilosp-docker/php7

Update to PHP 7.1
This commit is contained in:
Pierre Ozoux 2017-03-03 08:29:26 +00:00 committed by GitHub
commit ba7bcebd85
7 changed files with 35 additions and 35 deletions

View File

@ -1,4 +1,4 @@
FROM php:5.6-apache FROM php:7.1-apache
RUN apt-get update && apt-get install -y \ RUN apt-get update && apt-get install -y \
bzip2 \ 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 # 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 \ 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-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 # 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
@ -33,9 +33,9 @@ RUN a2enmod rewrite
# PECL extensions # PECL extensions
RUN set -ex \ RUN set -ex \
&& pecl install APCu-4.0.10 \ && pecl install APCu-5.1.8 \
&& pecl install memcached-2.2.0 \ && pecl install memcached-3.0.2 \
&& pecl install redis-2.2.8 \ && pecl install redis-3.1.1 \
&& docker-php-ext-enable apcu redis memcached && docker-php-ext-enable apcu redis memcached
RUN a2enmod rewrite RUN a2enmod rewrite

View File

@ -1,4 +1,4 @@
FROM php:5.6-fpm FROM php:7.1-fpm
RUN apt-get update && apt-get install -y \ RUN apt-get update && apt-get install -y \
bzip2 \ 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 # 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 \ 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-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 # 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
@ -32,9 +32,9 @@ RUN { \
# PECL extensions # PECL extensions
RUN set -ex \ RUN set -ex \
&& pecl install APCu-4.0.10 \ && pecl install APCu-5.1.8 \
&& pecl install memcached-2.2.0 \ && pecl install memcached-3.0.2 \
&& pecl install redis-2.2.8 \ && pecl install redis-3.1.1 \
&& docker-php-ext-enable apcu redis memcached && docker-php-ext-enable apcu redis memcached
ENV NEXTCLOUD_VERSION 10.0.3 ENV NEXTCLOUD_VERSION 10.0.3

View File

@ -1,4 +1,4 @@
FROM php:5.6-apache FROM php:7.1-apache
RUN apt-get update && apt-get install -y \ RUN apt-get update && apt-get install -y \
bzip2 \ 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 # 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 \ 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-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 # 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
@ -33,9 +33,9 @@ RUN a2enmod rewrite
# PECL extensions # PECL extensions
RUN set -ex \ RUN set -ex \
&& pecl install APCu-4.0.10 \ && pecl install APCu-5.1.8 \
&& pecl install memcached-2.2.0 \ && pecl install memcached-3.0.2 \
&& pecl install redis-2.2.8 \ && pecl install redis-3.1.1 \
&& docker-php-ext-enable apcu redis memcached && docker-php-ext-enable apcu redis memcached
RUN a2enmod rewrite RUN a2enmod rewrite

View File

@ -1,4 +1,4 @@
FROM php:5.6-fpm FROM php:7.1-fpm
RUN apt-get update && apt-get install -y \ RUN apt-get update && apt-get install -y \
bzip2 \ 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 # 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 \ 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-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 # 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
@ -32,9 +32,9 @@ RUN { \
# PECL extensions # PECL extensions
RUN set -ex \ RUN set -ex \
&& pecl install APCu-4.0.10 \ && pecl install APCu-5.1.8 \
&& pecl install memcached-2.2.0 \ && pecl install memcached-3.0.2 \
&& pecl install redis-2.2.8 \ && pecl install redis-3.1.1 \
&& docker-php-ext-enable apcu redis memcached && docker-php-ext-enable apcu redis memcached
ENV NEXTCLOUD_VERSION 11.0.1 ENV NEXTCLOUD_VERSION 11.0.1

View File

@ -1,4 +1,4 @@
FROM php:5.6-apache FROM php:7.1-apache
RUN apt-get update && apt-get install -y \ RUN apt-get update && apt-get install -y \
bzip2 \ 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 # 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 \ 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-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 # 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
@ -33,9 +33,9 @@ RUN a2enmod rewrite
# PECL extensions # PECL extensions
RUN set -ex \ RUN set -ex \
&& pecl install APCu-4.0.10 \ && pecl install APCu-5.1.8 \
&& pecl install memcached-2.2.0 \ && pecl install memcached-3.0.2 \
&& pecl install redis-2.2.8 \ && pecl install redis-3.1.1 \
&& docker-php-ext-enable apcu redis memcached && docker-php-ext-enable apcu redis memcached
RUN a2enmod rewrite RUN a2enmod rewrite

View File

@ -1,4 +1,4 @@
FROM php:5.6-fpm FROM php:7.1-fpm
RUN apt-get update && apt-get install -y \ RUN apt-get update && apt-get install -y \
bzip2 \ 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 # 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 \ 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-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 # 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
@ -32,9 +32,9 @@ RUN { \
# PECL extensions # PECL extensions
RUN set -ex \ RUN set -ex \
&& pecl install APCu-4.0.10 \ && pecl install APCu-5.1.8 \
&& pecl install memcached-2.2.0 \ && pecl install memcached-3.0.2 \
&& pecl install redis-2.2.8 \ && pecl install redis-3.1.1 \
&& docker-php-ext-enable apcu redis memcached && docker-php-ext-enable apcu redis memcached
ENV NEXTCLOUD_VERSION 9.0.56 ENV NEXTCLOUD_VERSION 9.0.56

View File

@ -1,4 +1,4 @@
FROM php:5.6-%%VARIANT%% FROM php:7.1-%%VARIANT%%
RUN apt-get update && apt-get install -y \ RUN apt-get update && apt-get install -y \
bzip2 \ 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 # 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 \ 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-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 # 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
@ -33,9 +33,9 @@ RUN a2enmod rewrite
# PECL extensions # PECL extensions
RUN set -ex \ RUN set -ex \
&& pecl install APCu-4.0.10 \ && pecl install APCu-5.1.8 \
&& pecl install memcached-2.2.0 \ && pecl install memcached-3.0.2 \
&& pecl install redis-2.2.8 \ && pecl install redis-3.1.1 \
&& docker-php-ext-enable apcu redis memcached && docker-php-ext-enable apcu redis memcached
RUN a2enmod rewrite RUN a2enmod rewrite