Add example ldaps configuration, set TLS_REQCERT to never so php_ldap does validate ldap server SSL certs
All checks were successful
Create Docker Image / Test Application (x86_64) (push) Successful in 29s
Create Docker Image / Build Docker Image (x86_64) (push) Successful in 1m32s
Create Docker Image / Build Docker Image (arm64) (push) Successful in 4m35s
Create Docker Image / Final Docker Image Manifest (push) Successful in 10s
All checks were successful
Create Docker Image / Test Application (x86_64) (push) Successful in 29s
Create Docker Image / Build Docker Image (x86_64) (push) Successful in 1m32s
Create Docker Image / Build Docker Image (arm64) (push) Successful in 4m35s
Create Docker Image / Final Docker Image Manifest (push) Successful in 10s
This commit is contained in:
@@ -9,9 +9,12 @@ RUN install-php-extensions \
|
||||
igbinary msgpack memcached
|
||||
|
||||
# Tune PHP
|
||||
RUN cp /usr/local/etc/php/php.ini-production /usr/local/etc/php/php.ini
|
||||
RUN sed -i -e 's/^memory_limit = 128M/memory_limit = 256M/' /usr/local/etc/php/php.ini
|
||||
RUN sed -i -e 's/^expose_php = On/expose_php = Off/' /usr/local/etc/php/php.ini
|
||||
RUN cp /usr/local/etc/php/php.ini-production /usr/local/etc/php/php.ini \
|
||||
&& sed -i -e 's/^memory_limit = 128M/memory_limit = 256M/' /usr/local/etc/php/php.ini \
|
||||
&& sed -i -e 's/^expose_php = On/expose_php = Off/' /usr/local/etc/php/php.ini
|
||||
|
||||
# Support for LDAPS queries
|
||||
RUN echo "TLS_REQCERT never" >> /etc/openldap/ldap.conf
|
||||
|
||||
# Add composer
|
||||
RUN curl -4 https://getcomposer.org/installer|php -- --install-dir=/usr/local/bin --filename=composer
|
||||
|
Reference in New Issue
Block a user