TrafeX/docker-php-nginx

Add php_ldap

rtausend opened this issue · 1 comments

Hi! Would it be possible to Add LDAP for PHP to your image? Thanks a lot!

Hi @rtausend,

Yes, you do that by making your own image like this;

FROM trafex/php-nginx:latest

# Temporary switch to root
USER root

# Install ldap
RUN apk add --no-cache php82-ldap

# Switch back to non-root user
USER nobody