Use PHP 8.0 instead of 8.1 because dependencies are not compatible with tests

This commit is contained in:
Igor Scheller 2021-12-04 11:41:48 +01:00
parent 3ee7962dab
commit ea93eb3129
2 changed files with 2 additions and 2 deletions

View File

@ -28,7 +28,7 @@ COPY --from=composer /app/composer.lock /app/
RUN find /app/storage/ -type f -not -name VERSION -exec rm {} \; RUN find /app/storage/ -type f -not -name VERSION -exec rm {} \;
# Build the PHP container # Build the PHP container
FROM php:8-fpm-alpine FROM php:8.0-fpm-alpine
WORKDIR /var/www WORKDIR /var/www
RUN apk add --no-cache icu-dev && \ RUN apk add --no-cache icu-dev && \
docker-php-ext-install intl pdo_mysql docker-php-ext-install intl pdo_mysql

View File

@ -1,5 +1,5 @@
# Engelsystem PHP FPM development image including Xdebug # Engelsystem PHP FPM development image including Xdebug
FROM php:8-fpm-alpine AS es_php_fpm FROM php:8.0-fpm-alpine AS es_php_fpm
WORKDIR /var/www WORKDIR /var/www
RUN apk add --no-cache icu-dev $PHPIZE_DEPS && \ RUN apk add --no-cache icu-dev $PHPIZE_DEPS && \
pecl install pcov xdebug && \ pecl install pcov xdebug && \