From 0ef8ea269b682b78938d86bdf79123fdc0a7d48f Mon Sep 17 00:00:00 2001 From: zachary <zachary@zacharyboyd.nyc> Date: Wed, 17 Jun 2015 20:20:58 -0400 Subject: [PATCH] Adds php-gd and mysqli to dockerfile --- Dockerfile | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index 6c70913f8b7..a5eb941c781 100644 --- a/Dockerfile +++ b/Dockerfile @@ -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/ -- GitLab