Merge branch 'main' into fix/xdebug-profiling

This commit is contained in:
2024-08-13 15:20:36 +02:00
12 changed files with 797 additions and 213 deletions
+11 -20
View File
@@ -1,38 +1,29 @@
FROM php:8.2.19-fpm
FROM php:8.3-fpm
# System dependencies
RUN apt update && apt install -y \
curl
RUN apt-get update && apt install -y curl git
# PHP extensions
## OPcache
RUN docker-php-ext-install \
opcache
RUN docker-php-ext-install opcache
## XDebug
RUN pecl install \
xdebug \
&& docker-php-ext-enable \
xdebug
RUN pecl install xdebug \
&& docker-php-ext-enable xdebug
## PDO & mysql
RUN docker-php-ext-install \
pdo pdo_mysql
RUN docker-php-ext-install pdo pdo_mysql
# Zip
RUN apt install -y \
libzip-dev zip unzip \
&& docker-php-ext-install \
zip
RUN apt-get install -y libzip-dev zip unzip \
&& docker-php-ext-install zip
# Intl
RUN apt install -y \
libicu-dev \
&& docker-php-ext-install \
intl
RUN apt-get install -y libicu-dev \
&& docker-php-ext-install intl
# Composer
COPY --from=composer:latest /usr/bin/composer /usr/local/bin/composer
WORKDIR /app
WORKDIR /app