Adds php-gd and mysqli to dockerfile

This commit is contained in:
zachary 2015-06-17 20:20:58 -04:00
parent f8cf0fa679
commit 0ef8ea269b

View File

@ -1,6 +1,11 @@
FROM php:5.6-apache
RUN apt-get update && apt-get install -y php5-gd php5-mysql
RUN apt-get update && apt-get install -y libpng12-dev libjpeg-dev \
&& rm -rf /var/lib/apt/lists/* \
&& docker-php-ext-configure gd --with-png-dir=/usr --with-jpeg-dir=/usr \
&& docker-php-ext-install gd
RUN docker-php-ext-install mysqli
COPY htdocs/ /var/www/html/