Browse Source

imagemagick supported formats

Shao Yu-Lung (Allen) 4 years ago
parent
commit
397babfbfb
2 changed files with 2 additions and 2 deletions
  1. 1 1
      laravel-horizon/Dockerfile
  2. 1 1
      php-worker/Dockerfile

+ 1 - 1
laravel-horizon/Dockerfile

@@ -98,7 +98,7 @@ ARG IMAGEMAGICK_VERSION=latest
 ENV IMAGEMAGICK_VERSION ${IMAGEMAGICK_VERSION}
 RUN set -eux; \
   if [ ${INSTALL_IMAGEMAGICK} = true ]; then \
-    apk add --update --no-cache imagemagick-dev; \
+    apk add --update --no-cache imagemagick-dev imagemagick; \
     if [ $(php -r "echo PHP_MAJOR_VERSION;") = "8" ]; then \
       cd /tmp && \
       if [ ${IMAGEMAGICK_VERSION} = "latest" ]; then \

+ 1 - 1
php-worker/Dockerfile

@@ -98,7 +98,7 @@ ARG IMAGEMAGICK_VERSION=latest
 ENV IMAGEMAGICK_VERSION ${IMAGEMAGICK_VERSION}
 RUN set -eux; \
   if [ ${INSTALL_IMAGEMAGICK} = true ]; then \
-    apk add --update --no-cache imagemagick-dev; \
+    apk add --update --no-cache imagemagick-dev imagemagick; \
     if [ $(php -r "echo PHP_MAJOR_VERSION;") = "8" ]; then \
       cd /tmp && \
       if [ ${IMAGEMAGICK_VERSION} = "latest" ]; then \