Advertisement
Guest User

Untitled

a guest
Apr 24th, 2018
69
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Diff 1.40 KB | None | 0 0
  1. Evgeniys-MacBook-Pro:backend evgeniyivanov$ git diff Dockerfile
  2. diff --git a/Dockerfile b/Dockerfile
  3. index 76a18d45..02661041 100644
  4. --- a/Dockerfile
  5. +++ b/Dockerfile
  6. @@ -34,11 +34,28 @@ RUN apt-get update && apt-get install -y \
  7.              cron \
  8.              git \
  9.              nginx \
  10. -            php-soap
  11. +            php-soap \
  12. +            g++
  13. +
  14. +
  15. +# ICU from source
  16. +RUN curl -fsS -o /tmp/icu.tgz -L http://download.icu-project.org/files/icu4c/59.1/icu4c-59_1-src.tgz \
  17. +  && tar -zxf /tmp/icu.tgz -C /tmp \
  18. +  && cd /tmp/icu/source \
  19. +  && ./configure --prefix=/usr/local \
  20. +  && make \
  21. +  && make install \
  22. +# just to be certain things are cleaned up
  23. +  && rm -rf /tmp/icu*
  24. +
  25. +# PHP_CPPFLAGS are used by the docker-php-ext-* scripts
  26. +ENV PHP_CPPFLAGS="$PHP_CPPFLAGS -std=c++11"
  27.  
  28.  # INSTALL PHP MODULES
  29.  RUN docker-php-ext-configure \
  30.      gd --with-freetype-dir=/usr/include/ --with-jpeg-dir=/usr/include/
  31. +RUN docker-php-ext-configure \
  32. +    intl
  33.  
  34.  RUN docker-php-ext-install -j$(nproc) bz2 \
  35.                                        calendar \
  36. @@ -58,7 +75,8 @@ RUN docker-php-ext-install -j$(nproc) bz2 \
  37.                                        wddx \
  38.                                        xsl \
  39.                                        zip \
  40. -                                      soap
  41. +                                      soap \
  42. +                                      intl
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement