fix: fix the extension cannot install problem.
This commit is contained in:
parent
2c9563d2cd
commit
c84db7d4d7
@ -590,7 +590,7 @@ USER root
|
|||||||
ARG INSTALL_IMAGEMAGICK=false
|
ARG INSTALL_IMAGEMAGICK=false
|
||||||
|
|
||||||
RUN if [ ${INSTALL_IMAGEMAGICK} = true ]; then \
|
RUN if [ ${INSTALL_IMAGEMAGICK} = true ]; then \
|
||||||
apt-get install -y libmagickwand-dev imagemagick && \
|
apt-get install -y --fix-missing libmagickwand-dev imagemagick && \
|
||||||
pecl install imagick && \
|
pecl install imagick && \
|
||||||
docker-php-ext-enable imagick \
|
docker-php-ext-enable imagick \
|
||||||
;fi
|
;fi
|
||||||
|
Loading…
Reference in New Issue
Block a user