any idea how can i install the php Ldap extension in dockerfile
FROM php:7.2-fpm-alpine
i tried the following
RUN docker-php-ext-configure ldap --prefix=/usr/local/php --with-ldap=/usr/lib/i386-linux-gnu
RUN docker-php-ext-install ldap
but when i build docker , i get the error message
configure: error: Cannot find ldap.h
ERROR: Service 'php' failed to build: The command '/bin/sh -c docker-php-ext-install ldap' returned a non-zero code: 1
PS: it is alpine so 'apt-get' wont work here, instead 'apk add'