Last active
December 19, 2018 16:51
-
-
Save kevincupp/49676e613fc8e17be568fd16078b9d4f to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
FROM php:fpm | |
RUN apt-get update && apt-get install -y \ | |
libfreetype6-dev \ | |
libjpeg62-turbo-dev \ | |
libpng-dev \ | |
zlib1g-dev \ | |
libzip-dev \ | |
&& docker-php-ext-configure gd --with-freetype-dir=/usr/include/ --with-jpeg-dir=/usr/include/ \ | |
&& docker-php-ext-install -j$(nproc) gd \ | |
&& docker-php-ext-install pdo_mysql \ | |
&& docker-php-ext-install zip |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment