mirror of
https://github.com/nextcloud/docker.git
synced 2025-04-27 05:20:54 +02:00
Changed the php version back to 5.6 for nextcloud 9 and 10
This commit is contained in:
parent
362905d20e
commit
534665db85
7 changed files with 90 additions and 26 deletions
|
@ -1,4 +1,4 @@
|
|||
FROM php:7.1-%%VARIANT%%
|
||||
FROM php:5.6-%%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 mysqli opcache pdo_mysql pdo_pgsql pgsql zip
|
||||
&& docker-php-ext-install gd exif intl mbstring mcrypt ldap mysql 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-5.1.8 \
|
||||
&& pecl install memcached-3.0.2 \
|
||||
&& pecl install redis-3.1.1 \
|
||||
&& pecl install APCu-4.0.10 \
|
||||
&& pecl install memcached-2.2.0 \
|
||||
&& pecl install redis-2.2.8 \
|
||||
&& docker-php-ext-enable apcu redis memcached
|
||||
RUN a2enmod rewrite
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue