Pārlūkot izejas kodu

Required PHP extension 'Imagick' was not loaded #530

Mark Shust 3 gadi atpakaļ
vecāks
revīzija
c20d88da45
3 mainītis faili ar 12 papildinājumiem un 0 dzēšanām
  1. 4 0
      images/php/7.3/Dockerfile
  2. 4 0
      images/php/7.4/Dockerfile
  3. 4 0
      images/php/8.0/Dockerfile

+ 4 - 0
images/php/7.3/Dockerfile

@@ -71,6 +71,10 @@ RUN pecl install ssh2-1.2 \
 RUN pecl install redis \
   && docker-php-ext-enable redis
 
+RUN apt-get install libmagickwand-dev \
+  && pecl install imagick  \
+  && docker-php-ext-enable imagick
+
 RUN groupadd -g "$APP_ID" app \
   && useradd -g "$APP_ID" -u "$APP_ID" -d /var/www -s /bin/bash app
 

+ 4 - 0
images/php/7.4/Dockerfile

@@ -71,6 +71,10 @@ RUN pecl install ssh2-1.2 \
 RUN pecl install redis \
   && docker-php-ext-enable redis
 
+RUN apt-get install libmagickwand-dev \
+  && pecl install imagick  \
+  && docker-php-ext-enable imagick
+
 RUN groupadd -g "$APP_ID" app \
   && useradd -g "$APP_ID" -u "$APP_ID" -d /var/www -s /bin/bash app
 

+ 4 - 0
images/php/8.0/Dockerfile

@@ -58,6 +58,10 @@ RUN pecl install ssh2-1.3.1 \
 RUN pecl install redis \
   && docker-php-ext-enable redis
 
+RUN apt-get install libmagickwand-dev \
+  && pecl install imagick  \
+  && docker-php-ext-enable imagick
+
 RUN groupadd -g "$APP_ID" app \
   && useradd -g "$APP_ID" -u "$APP_ID" -d /var/www -s /bin/bash app