Merge pull request #3284 from krispajak/php-fpm-ldap-arm64
php-fpm fails to build with ldap enabled under mac m1 (arm64)
This commit is contained in:
commit
f5f389331a
|
@ -718,7 +718,8 @@ ARG INSTALL_LDAP=false
|
|||
|
||||
RUN if [ ${INSTALL_LDAP} = true ]; then \
|
||||
apt-get install -yqq libldap2-dev && \
|
||||
docker-php-ext-configure ldap --with-libdir=lib/x86_64-linux-gnu/ && \
|
||||
ARCH=$(arch) && \
|
||||
docker-php-ext-configure ldap --with-libdir="lib/${ARCH}-linux-gnu/" && \
|
||||
docker-php-ext-install ldap \
|
||||
;fi
|
||||
|
||||
|
|
Loading…
Reference in New Issue