FROM php:8.3.12-apache-bullseye RUN apt-get update -qq && apt-get install -qq libmagickwand-dev libpng-dev libjpeg-dev libtiff-dev imagemagick --no-install-recommends && rm -rf /var/lib/apt/lists/* RUN pecl install imagick RUN docker-php-ext-install mysqli pdo pdo_mysql RUN docker-php-ext-enable mysqli pdo pdo_mysql imagick