Skip to content

Commit

Permalink
Remove Docker image imagick dependency
Browse files Browse the repository at this point in the history
Remove `imagick` dependency from Docker image as not strictly required (dompdf/dompdf#3376) and to resolve issue with PHP 8.3 (Imagick/imagick#640).
  • Loading branch information
admdly committed Mar 13, 2024
1 parent 6562428 commit f43f320
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ FROM php:8.2-apache

# Install required packages, configure Apache, install PHP exensions, and clean-up.
RUN apt-get update \
&& apt-get install -y --no-install-recommends wget unzip zlib1g-dev libpng-dev libicu-dev libbz2-dev libmagickwand-dev \
&& apt-get install -y --no-install-recommends wget unzip zlib1g-dev libpng-dev libicu-dev libbz2-dev \
&& a2enmod rewrite \
&& docker-php-ext-configure bz2 \
&& docker-php-ext-install -j$(nproc) bz2 \
Expand All @@ -14,8 +14,6 @@ RUN apt-get update \
&& docker-php-ext-install -j$(nproc) opcache \
&& docker-php-ext-configure pdo_mysql \
&& docker-php-ext-install -j$(nproc) pdo_mysql \
&& pecl install imagick \
&& docker-php-ext-enable imagick \
&& apt-get clean \
&& rm -rf /var/lib/apt/lists/*

Expand Down

0 comments on commit f43f320

Please sign in to comment.