Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Evgeniys-MacBook-Pro:backend evgeniyivanov$ git diff Dockerfile
- diff --git a/Dockerfile b/Dockerfile
- index 76a18d45..02661041 100644
- --- a/Dockerfile
- +++ b/Dockerfile
- @@ -34,11 +34,28 @@ RUN apt-get update && apt-get install -y \
- cron \
- git \
- nginx \
- - php-soap
- + php-soap \
- + g++
- +
- +
- +# ICU from source
- +RUN curl -fsS -o /tmp/icu.tgz -L http://download.icu-project.org/files/icu4c/59.1/icu4c-59_1-src.tgz \
- + && tar -zxf /tmp/icu.tgz -C /tmp \
- + && cd /tmp/icu/source \
- + && ./configure --prefix=/usr/local \
- + && make \
- + && make install \
- +# just to be certain things are cleaned up
- + && rm -rf /tmp/icu*
- +
- +# PHP_CPPFLAGS are used by the docker-php-ext-* scripts
- +ENV PHP_CPPFLAGS="$PHP_CPPFLAGS -std=c++11"
- # INSTALL PHP MODULES
- RUN docker-php-ext-configure \
- gd --with-freetype-dir=/usr/include/ --with-jpeg-dir=/usr/include/
- +RUN docker-php-ext-configure \
- + intl
- RUN docker-php-ext-install -j$(nproc) bz2 \
- calendar \
- @@ -58,7 +75,8 @@ RUN docker-php-ext-install -j$(nproc) bz2 \
- wddx \
- xsl \
- zip \
- - soap
- + soap \
- + intl
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement