Fix PHP version in Dockerfile

This commit is contained in:
Bubka 2022-07-25 11:17:34 +02:00
parent 13f53ac0ab
commit fa1610505e

View File

@ -45,17 +45,17 @@ COPY --from=supervisord --chown=${UID}:${GID} /bin /usr/local/bin/supervisord
# Install PHP and PHP system dependencies # Install PHP and PHP system dependencies
RUN apk add --update --no-cache \ RUN apk add --update --no-cache \
# PHP # PHP
php8.0 \ php8 \
# Composer dependencies # Composer dependencies
php8.0-phar \ php8-phar \
# PHP SQLite driver # PHP SQLite driver
php8.0-pdo_sqlite php8.0-sqlite3 \ php8-pdo_sqlite php8-sqlite3 \
# PHP extensions # PHP extensions
php8.0-xml php8.0-gd php8.0-mbstring php8.0-tokenizer php8.0-cli php8.0-fileinfo php8.0-bcmath php8.0-ctype php8.0-dom \ php8-xml php8-gd php8-mbstring php8-tokenizer php8-cli php8-fileinfo php8-bcmath php8-ctype php8-dom \
# Runtime dependencies # Runtime dependencies
php8.0-session php8.0-json php8.0-openssl \ php8-session php8-json php8-openssl \
# Nginx and PHP FPM to serve over HTTP # Nginx and PHP FPM to serve over HTTP
php8.0-fpm nginx php8-fpm nginx
# PHP FPM configuration # PHP FPM configuration
# Change username and ownership in php-fpm pool config # Change username and ownership in php-fpm pool config