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

View File

@ -290,7 +290,8 @@ RUN if [ ${MSSQL} = true ]; then \
ARG INSTALL_INTL=false ARG INSTALL_INTL=false
RUN if [ ${INSTALL_INTL} = true ]; then \ RUN if [ ${INSTALL_INTL} = true ]; then \
# Install intl and requirements # 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-configure intl && \
docker-php-ext-install intl \ docker-php-ext-install intl \
;fi ;fi