feat(ldap extension): php-worker horizon

#2956
This commit is contained in:
Shao Yu-Lung (Allen)
2021-04-22 23:34:17 +08:00
parent 3778c90932
commit b79d306004
4 changed files with 20 additions and 0 deletions

View File

@ -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 \