summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRemi Collet <remi@remirepo.net>2022-11-25 10:26:36 +0100
committerRemi Collet <remi@php.net>2022-11-25 10:26:36 +0100
commit8d8c3bdf2516b745cfda7a599673ca896641352c (patch)
tree14a770a3343520c1ed1021f1c092d1ce8929bbb6
parentf34dadcf9a14ff6d216b8ae1d0f245195806de17 (diff)
minor
-rw-r--r--amzn2-php82.dockerfile4
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"]