Run apt-get update before installing intl extension

This commit is contained in:
Bojan Bedrac 2017-04-20 13:46:38 +02:00
parent f30e36bc93
commit 407353e6eb

View File

@ -277,7 +277,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