From f2af78ecac4ed11ab891b7dc0b79912bd541eec6 Mon Sep 17 00:00:00 2001 From: Valentino Lauciani Date: Fri, 12 Mar 2021 15:01:44 +0100 Subject: [PATCH] Update Dockerfile --- php-fpm/Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/php-fpm/Dockerfile b/php-fpm/Dockerfile index 2d8d67e..62da556 100644 --- a/php-fpm/Dockerfile +++ b/php-fpm/Dockerfile @@ -688,7 +688,7 @@ ARG IMAGEMAGICK_VERSION=latest ENV IMAGEMAGICK_VERSION ${IMAGEMAGICK_VERSION} RUN if [ ${INSTALL_IMAGEMAGICK} = true ]; then \ - apt-get install -y libmagickwand-dev imagemagick && \ + apt-get update -yqq && apt-get install -y libmagickwand-dev imagemagick && \ if [ $(php -r "echo PHP_MAJOR_VERSION;") = "8" ]; then \ apt-get install -y git && \ cd /tmp && \