Skip to content
Snippets Groups Projects
Commit 0ef8ea26 authored by zachary's avatar zachary
Browse files

Adds php-gd and mysqli to dockerfile

parent f8cf0fa6
No related branches found
No related tags found
No related merge requests found
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/
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment