mirror of
https://github.com/nextcloud/docker.git
synced 2025-04-19 18:36:09 +02:00
Added ldap support to the alpine-php7.0-fpm image
This commit is contained in:
parent
b1089b58b9
commit
2718d61be0
1 changed files with 8 additions and 8 deletions
|
@ -17,15 +17,14 @@ RUN { \
|
||||||
# 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 set -ex \
|
RUN set -ex \
|
||||||
&& apk update \
|
&& apk update \
|
||||||
&& apk add build-base python-dev py-pip jpeg-dev jpeg zlib zlib-dev \
|
&& apk add build-base python-dev py-pip jpeg-dev jpeg \
|
||||||
|
libldap openldap-dev zlib zlib-dev \
|
||||||
postgresql-dev libmcrypt-dev libmcrypt libpng-dev libpng \
|
postgresql-dev libmcrypt-dev libmcrypt libpng-dev libpng \
|
||||||
autoconf make g++ gcc git file gnupg re2c icu icu-dev tzdata \
|
autoconf make g++ gcc git file gnupg re2c icu icu-dev tzdata \
|
||||||
#&& echo "@testing http://dl-cdn.alpinelinux.org/alpine/edge/testing" >> /etc/apk/repositories \
|
&& docker-php-ext-install gd exif intl mbstring mcrypt opcache \
|
||||||
#&& echo '@community http://nl.alpinelinux.org/alpine/edge/community' >> /etc/apk/repositories \
|
pdo_mysql pdo_pgsql pgsql zip ldap \
|
||||||
#&& apk add php7-session@community \
|
&& docker-php-ext-enable gd exif intl mbstring mcrypt opcache \
|
||||||
#&& apk add php7-memcached@testing \
|
pdo_mysql pdo_pgsql pgsql zip ldap \
|
||||||
&& docker-php-ext-install gd exif intl mbstring mcrypt opcache pdo_mysql pdo_pgsql pgsql zip \
|
|
||||||
&& docker-php-ext-enable gd intl exif mbstring mcrypt opcache pdo_mysql pdo_pgsql pgsql zip \
|
|
||||||
&& pecl install APCu-5.1.6 \
|
&& pecl install APCu-5.1.6 \
|
||||||
&& git clone https://github.com/phpredis/phpredis.git \
|
&& git clone https://github.com/phpredis/phpredis.git \
|
||||||
&& cd phpredis \
|
&& cd phpredis \
|
||||||
|
@ -36,7 +35,8 @@ RUN set -ex \
|
||||||
&& cd .. \
|
&& cd .. \
|
||||||
&& rm -rf phpredis \
|
&& rm -rf phpredis \
|
||||||
&& docker-php-ext-enable redis apcu \
|
&& docker-php-ext-enable redis apcu \
|
||||||
&& apk del autoconf make g++ gcc git py-pip zlib-dev jpeg-dev libmcrypt-dev libpng-dev\
|
&& apk del autoconf make g++ gcc git py-pip zlib-dev \
|
||||||
|
jpeg-dev libmcrypt-dev libpng-dev openldap-dev \
|
||||||
&& rm -rf /var/cache/apk/*
|
&& rm -rf /var/cache/apk/*
|
||||||
|
|
||||||
VOLUME /var/www/html
|
VOLUME /var/www/html
|
||||||
|
|
Loading…
Add table
Reference in a new issue