FROM amd64/php:8.1.13-apache-bullseye RUN apt-get update -qq && apt-get install -qq libmagickwand-dev --no-install-recommends && rm -rf /var/lib/apt/lists/* RUN printf "\n" | pecl install imagick RUN docker-php-ext-install mysqli pdo pdo_mysql && docker-php-ext-enable pdo_mysql imagick