Run apt-get update before installing intl extension

This commit is contained in:
Bojan Bedrac 2017-04-20 13:46:38 +02:00 committed by Diego Antunes
parent bce05e4b59
commit 5c95bb3a0f
1 changed files with 2 additions and 1 deletions

View File

@ -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