Merge pull request #2958 from laradock/ldap
feat(ldap extension): php-worker horizon
This commit is contained in:
commit
91575b115c
|
@ -286,6 +286,7 @@ PHP_WORKER_INSTALL_IMAGEMAGICK=false
|
|||
PHP_WORKER_IMAGEMAGICK_VERSION=latest
|
||||
PHP_WORKER_INSTALL_GMP=false
|
||||
PHP_WORKER_INSTALL_GNUPG=false
|
||||
PHP_WORKER_INSTALL_LDAP=false
|
||||
PHP_WORKER_INSTALL_PGSQL=false
|
||||
PHP_WORKER_INSTALL_MONGO=false
|
||||
PHP_WORKER_INSTALL_BCMATH=false
|
||||
|
@ -327,6 +328,7 @@ LARAVEL_HORIZON_INSTALL_BZ2=false
|
|||
LARAVEL_HORIZON_INSTALL_GD=false
|
||||
LARAVEL_HORIZON_INSTALL_GMP=false
|
||||
LARAVEL_HORIZON_INSTALL_GNUPG=false
|
||||
LARAVEL_HORIZON_INSTALL_LDAP=false
|
||||
LARAVEL_HORIZON_INSTALL_IMAGEMAGICK=false
|
||||
LARAVEL_HORIZON_IMAGEMAGICK_VERSION=latest
|
||||
LARAVEL_HORIZON_INSTALL_SOCKETS=false
|
||||
|
|
|
@ -316,6 +316,7 @@ services:
|
|||
- INSTALL_IMAGEMAGICK=${PHP_WORKER_INSTALL_IMAGEMAGICK}
|
||||
- INSTALL_GMP=${PHP_WORKER_INSTALL_GMP}
|
||||
- INSTALL_GNUPG=${PHP_WORKER_INSTALL_GNUPG}
|
||||
- INSTALL_LDAP=${PHP_WORKER_INSTALL_LDAP}
|
||||
- INSTALL_PGSQL=${PHP_WORKER_INSTALL_PGSQL}
|
||||
- INSTALL_MONGO=${PHP_WORKER_INSTALL_MONGO}
|
||||
- INSTALL_BCMATH=${PHP_WORKER_INSTALL_BCMATH}
|
||||
|
@ -359,6 +360,7 @@ services:
|
|||
- INSTALL_GD=${LARAVEL_HORIZON_INSTALL_GD}
|
||||
- INSTALL_GMP=${LARAVEL_HORIZON_INSTALL_GMP}
|
||||
- INSTALL_GNUPG=${LARAVEL_HORIZON_INSTALL_GNUPG}
|
||||
- INSTALL_LDAP=${LARAVEL_HORIZON_INSTALL_LDAP}
|
||||
- INSTALL_IMAGEMAGICK=${LARAVEL_HORIZON_INSTALL_IMAGEMAGICK}
|
||||
- INSTALL_PGSQL=${PHP_FPM_INSTALL_PGSQL}
|
||||
- INSTALL_ZIP_ARCHIVE=${LARAVEL_HORIZON_INSTALL_ZIP_ARCHIVE}
|
||||
|
|
|
@ -72,6 +72,14 @@ RUN set -eux; if [ ${INSTALL_GNUPG} = true ]; then \
|
|||
docker-php-ext-enable gnupg; \
|
||||
fi
|
||||
|
||||
#Install LDAP
|
||||
ARG INSTALL_LDAP=false;
|
||||
RUN set -eux; if [ ${INSTALL_LDAP} = true ]; then \
|
||||
apk add --no-cache --no-progress openldap-dev; \
|
||||
docker-php-ext-install ldap; \
|
||||
php -m | grep -oiE '^ldap$'; \
|
||||
fi
|
||||
|
||||
#Install GD package:
|
||||
ARG INSTALL_GD=false
|
||||
RUN if [ ${INSTALL_GD} = true ]; then \
|
||||
|
|
|
@ -72,6 +72,14 @@ RUN set -eux; if [ ${INSTALL_GNUPG} = true ]; then \
|
|||
docker-php-ext-enable gnupg; \
|
||||
fi
|
||||
|
||||
#Install LDAP
|
||||
ARG INSTALL_LDAP=false;
|
||||
RUN set -eux; if [ ${INSTALL_LDAP} = true ]; then \
|
||||
apk add --no-cache --no-progress openldap-dev; \
|
||||
docker-php-ext-install ldap; \
|
||||
php -m | grep -oiE '^ldap$'; \
|
||||
fi
|
||||
|
||||
#Install GD package:
|
||||
ARG INSTALL_GD=false
|
||||
RUN if [ ${INSTALL_GD} = true ]; then \
|
||||
|
|
Loading…
Reference in New Issue