Merge pull request #1522 from jeliasson/workspace-imagemagick

Update apt sources before installing imagemagick
This commit is contained in:
Shao Yu-Lung (Allen) 2018-05-25 22:04:59 +08:00 committed by GitHub
commit 99c2c846ff
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 0 deletions

View File

@ -654,6 +654,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 update && \
apt-get install -y --force-yes imagemagick php-imagick \ apt-get install -y --force-yes imagemagick php-imagick \
;fi ;fi