Created
June 5, 2017 11:58
-
-
Save timilsinabishal/a0052b548b74c3b26accb0fdcce83be6 to your computer and use it in GitHub Desktop.
This file contains 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:7-fpm-alpine | |
Maintainer Bishal Timilsina<bishaltimilsina@gmail.com> | |
RUN apk add openssl --update-cache | |
RUN apk add postgresql-dev freetype-dev libpng-dev libjpeg-turbo-dev freetype libpng libjpeg-turbo \ | |
&& docker-php-ext-configure gd \ | |
--with-gd \ | |
--with-freetype-dir=/usr/include/ \ | |
--with-png-dir=/usr/include/ \ | |
--with-jpeg-dir=/usr/include/ \ | |
&& docker-php-ext-install gd pdo pdo_pgsql mbstring zip | |
RUN curl -sS https://getcomposer.org/installer | php -- --install-dir=/usr/bin --filename=composer | |
workdir /var/www |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment