From 5c95bb3a0f7f1ac42bc8692d753116aedcc1c6db Mon Sep 17 00:00:00 2001 From: Bojan Bedrac Date: Thu, 20 Apr 2017 13:46:38 +0200 Subject: [PATCH] Run apt-get update before installing intl extension --- php-fpm/Dockerfile-70 | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/php-fpm/Dockerfile-70 b/php-fpm/Dockerfile-70 index 4a12e148..d8232210 100644 --- a/php-fpm/Dockerfile-70 +++ b/php-fpm/Dockerfile-70 @@ -290,7 +290,8 @@ RUN if [ ${MSSQL} = true ]; then \ ARG INSTALL_INTL=false RUN if [ ${INSTALL_INTL} = true ]; then \ # Install intl and requirements - apt-get install -y zlib1g-dev libicu-dev g++ && \ + apt-get -y update \ + && apt-get install -y zlib1g-dev libicu-dev g++ && \ docker-php-ext-configure intl && \ docker-php-ext-install intl \ ;fi