php-fpm: temporarily force debug mode
Some checks failed
php-fpm-build / build (7.4) (push) Failing after 39s

This commit is contained in:
Elijah Duffy
2025-12-08 18:45:39 -08:00
parent d98ec294e7
commit 811a8c8f51
2 changed files with 19 additions and 1 deletions

View File

@@ -97,8 +97,12 @@ RUN set -eux; \
echo 'error_log = /proc/self/fd/2'; \
} > /usr/local/etc/php/conf.d/zz-hardening.ini
# Copy the force-debug script and enable it
COPY --chown=app:app shared/php-fpm/force-debug.php /usr/local/etc/php/force-debug.php
RUN echo 'auto_prepend_file = /usr/local/etc/php/force-debug.php' > /usr/local/etc/php/conf.d/zz-force-debug.ini
# Copy pool configuration from this directory
COPY --chown=app:app php-fpm/${BASE_VERSION}/www.conf /usr/local/etc/php-fpm.d/www.conf
COPY --chown=app:app www.conf /usr/local/etc/php-fpm.d/www.conf
# Copy entrypoint from shared path in repo root
COPY --chown=root:root shared/php-fpm/entrypoint.sh /usr/local/bin/entrypoint.sh