diff options
-rw-r--r-- | amzn2-php82.dockerfile | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/amzn2-php82.dockerfile b/amzn2-php82.dockerfile index ebebfb4..79a5dfa 100644 --- a/amzn2-php82.dockerfile +++ b/amzn2-php82.dockerfile @@ -15,11 +15,13 @@ RUN yum install -y https://dl.fedoraproject.org/pub/epel/epel-release-latest-7.n php-cli php-ldap && \ yum clean all -RUN php --modules && php --version COPY ldap.php /tmp/ldap.php # RUN LD_PRELOAD=/usr/lib64/libldap_r-2.4.so.2.10.7 php /tmp/ldap.php +# RUN mv /etc/php.d/20-ldap.ini /etc/php.d/19-ldap.ini RUN php /tmp/ldap.php +RUN php --modules && php --version && rpm -q php-cli + ENTRYPOINT ["php"] CMD ["-a"] |