php-fpm fails to build with ldap enabled under mac m1 (arm64)
This commit is contained in:
parent
6dba239462
commit
1869b562a3
@ -715,7 +715,8 @@ ARG INSTALL_LDAP=false
|
|||||||
|
|
||||||
RUN if [ ${INSTALL_LDAP} = true ]; then \
|
RUN if [ ${INSTALL_LDAP} = true ]; then \
|
||||||
apt-get install -yqq libldap2-dev && \
|
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 \
|
docker-php-ext-install ldap \
|
||||||
;fi
|
;fi
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user