Dockerfile of all PHP packages has too much ENV directives. Every one makes new layer.
Request: Compose it to single call.
Currently:
# Configure Apache & PHP
ENV PHP_ERROR_REPORTING=32767
ENV PHP_DISPLAY_ERRORS=1
ENV PHP_DISPLAY_STARTUP_ERRORS=1
ENV PHP_ERROR_LOG=""
ENV PHP_LOG_ERRORS=0
ENV PHP_MAX_EXECUTION_TIME=30
ENV PHP_MEMORY_LIMIT=2G
ENV PHP_SESSION_SAVE_PATH=""
ENV TZ=UTC
Expected:
# Configure Apache & PHP
ENV PHP_ERROR_REPORTING=32767 \
PHP_DISPLAY_ERRORS=1 \
PHP_DISPLAY_STARTUP_ERRORS=1 \
PHP_ERROR_LOG="" \
PHP_LOG_ERRORS=0 \
PHP_MAX_EXECUTION_TIME=30 \
PHP_MEMORY_LIMIT=2G \
PHP_SESSION_SAVE_PATH="" \
TZ=UTC
Dockerfileof all PHP packages has too muchENVdirectives. Every one makes new layer.Request: Compose it to single call.
Currently:
Expected: