mirror of
https://github.com/librespeed/speedtest.git
synced 2026-08-27 03:46:58 +00:00
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>
This commit is contained in:
parent
914a29de7a
commit
265c42d4bf
2 changed files with 1 additions and 4 deletions
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -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);')"; \
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue