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/