|
@@ -20,10 +20,8 @@ RUN apk add --quiet --no-cache \
|
|
|
RUN ln -sf /dev/stdout /var/log/apache2/access.log && \
|
|
RUN ln -sf /dev/stdout /var/log/apache2/access.log && \
|
|
|
ln -sf /dev/stderr /var/log/apache2/error.log
|
|
ln -sf /dev/stderr /var/log/apache2/error.log
|
|
|
|
|
|
|
|
-# This image has two PHP installs: the FROM php:8-alpine binary (conf.d at
|
|
|
|
|
-# /usr/local/etc/php/conf.d) and the apk-installed php-apache2 (conf.d at
|
|
|
|
|
-# /etc/phpXX/conf.d). mod_php uses the apk one — glob /etc/php*/conf.d to
|
|
|
|
|
-# find it without pinning the PHP major.
|
|
|
|
|
|
|
+# Alpine installs PHP from apk; php-apache2 reads /etc/phpXX/conf.d.
|
|
|
|
|
+# Use the versioned apk conf.d without pinning the PHP major.
|
|
|
COPY docker/librespeed-php.ini /tmp/librespeed-php.ini
|
|
COPY docker/librespeed-php.ini /tmp/librespeed-php.ini
|
|
|
RUN set -eu; \
|
|
RUN set -eu; \
|
|
|
scan_dir=""; \
|
|
scan_dir=""; \
|