소스 검색

Required PHP extension 'Imagick' was not loaded #530

Mark Shust 3 년 전
부모
커밋
c20d88da45
3개의 변경된 파일12개의 추가작업 그리고 0개의 파일을 삭제
  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