* 'master' of https://github.com/Laradock/laradock:
  Run apt-get update before installing intl extension
This commit is contained in:
Mahmoud Zalt 2017-04-20 13:55:21 -04:00
commit 3a2845a00d

View File

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