Update apt sources before installing imagemagick

#1512
This commit is contained in:
Johan Eliasson 2018-05-04 22:04:35 +02:00 committed by GitHub
parent 0c41fceae1
commit 77bea30cb0
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
RUN if [ ${INSTALL_IMAGEMAGICK} = true ]; then \
apt-get update && \
apt-get install -y --force-yes imagemagick php-imagick \
;fi