2023-09-28 17:48:25 +02:00
|
|
|
FROM php:8-cli
|
|
|
|
|
|
|
|
RUN apt update \
|
|
|
|
&& apt install -y \
|
|
|
|
libpng-dev \
|
|
|
|
libicu-dev \
|
2023-10-03 17:24:52 +02:00
|
|
|
libavif-dev \
|
2023-09-28 17:48:25 +02:00
|
|
|
libpq-dev \
|
|
|
|
libzip-dev \
|
|
|
|
zip \
|
|
|
|
zlib1g-dev \
|
|
|
|
locales \
|
|
|
|
locales-all \
|
|
|
|
libmagickwand-dev \
|
|
|
|
libwebp-dev \
|
|
|
|
&& pecl install imagick \
|
2023-10-03 17:24:52 +02:00
|
|
|
&& docker-php-ext-configure gd --with-freetype --with-jpeg --with-webp --with-avif \
|
2023-09-28 17:48:25 +02:00
|
|
|
&& docker-php-ext-enable imagick \
|
|
|
|
&& docker-php-ext-install \
|
|
|
|
intl \
|
|
|
|
opcache \
|
|
|
|
pdo \
|
|
|
|
pdo_pgsql \
|
|
|
|
pdo_mysql \
|
|
|
|
pgsql \
|
|
|
|
fileinfo \
|
|
|
|
mysqli \
|
|
|
|
gd \
|
|
|
|
bcmath \
|
|
|
|
exif \
|
|
|
|
zip \
|
|
|
|
&& apt-get clean
|
|
|
|
|
|
|
|
# install composer
|
|
|
|
#
|
|
|
|
RUN curl -sS https://getcomposer.org/installer | php -- --install-dir=/usr/local/bin --filename=composer
|