Quellcode durchsuchen

docs: trim Docker PHP ini comments

Drop the Debian COPY comment (it only restated the code) and the
version-fragility framing in the Alpine comment.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Akira Yamamoto vor 1 Monat
Ursprung
Commit
265c42d4bf
2 geänderte Dateien mit 1 neuen und 4 gelöschten Zeilen
  1. 0 3
      Dockerfile
  2. 1 1
      Dockerfile.alpine

+ 0 - 3
Dockerfile

@@ -10,9 +10,6 @@ RUN install-php-extensions iconv gd pdo pdo_mysql pdo_pgsql pgsql \
     && apt-get clean \
     && rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/*
 
-# PHP_INI_DIR is set by the official php:8-apache image to /usr/local/etc/php
-# and has been stable across PHP majors. Using the env var documents intent
-# and follows any future upstream change to the path automatically.
 COPY docker/librespeed-php.ini ${PHP_INI_DIR}/conf.d/99-librespeed.ini
 
 # Prepare files and folders

+ 1 - 1
Dockerfile.alpine

@@ -20,7 +20,7 @@ RUN apk add --quiet --no-cache \
 RUN ln -sf /dev/stdout /var/log/apache2/access.log && \
     ln -sf /dev/stderr /var/log/apache2/error.log
 
-# Use PHP's scan dir without pinning the apk PHP major.
+# Install the ini into the scan dir PHP itself reports.
 COPY docker/librespeed-php.ini /tmp/librespeed-php.ini
 RUN set -eu; \
     scan_dir="$(php -r 'echo rtrim(PHP_CONFIG_FILE_SCAN_DIR);')"; \