Use php.ini-production as recommended by the upstream image authors
authorPablo Zmdl <redacted>
Thu, 13 Feb 2025 10:55:37 +0000 (11:55 +0100)
committerPablo Zmdl <redacted>
Thu, 13 Feb 2025 10:55:37 +0000 (11:55 +0100)
templates/Dockerfile-alpine.templ
templates/Dockerfile-debian.templ

index 5731c2cc6f9a085b65a355bb90644cd7c947585d..310ca841ce39d26f384b8a1c152556ed852c32da 100644 (file)
@@ -77,6 +77,9 @@ RUN set -ex; \
 
 COPY --from=composer:2 /usr/bin/composer /usr/bin/composer
 
+# Use the default production configuration
+RUN mv "$PHP_INI_DIR/php.ini-production" "$PHP_INI_DIR/php.ini"
+
 # use custom PHP settings
 COPY php.ini /usr/local/etc/php/conf.d/roundcube-defaults.ini
 
index e31cd1832c63b366e068181f425e147a070317f7..731bd38aaaafbdeddf1c8fa1412243b8ee8e319a 100644 (file)
@@ -84,6 +84,9 @@ RUN set -ex; \
 
 COPY --from=composer:2 /usr/bin/composer /usr/bin/composer
 
+# Use the default production configuration
+RUN mv "$PHP_INI_DIR/php.ini-production" "$PHP_INI_DIR/php.ini"
+
 # use custom PHP settings
 COPY php.ini /usr/local/etc/php/conf.d/roundcube-defaults.ini
 
git clone https://git.99rst.org/PROJECT