Advertisement
Guest User

Untitled

a guest
Jul 25th, 2017
76
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.46 KB | None | 0 0
  1. FROM php:7.0-apache
  2.  
  3. MAINTAINER Jason McCallister <jason.mccallister@traderinteractive.com>
  4.  
  5. # arguments for the installation
  6. ARG BLD_PKGS="libfreetype6-dev libjpeg62-turbo-dev libpng12-dev libicu-dev"
  7. ARG PHP_EXTS="pdo pdo_mysql gd"
  8.  
  9. # install needed items (php extensions)
  10. RUN apt-get update \
  11. && apt-get install -y $BLD_PKGS \
  12. && docker-php-ext-configure gd --with-freetype-dir=/usr/include/ --with-jpeg-dir=/usr/include/ \
  13. && docker-php-ext-install $PHP_EXTS
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement