Sign inSign up

saoque/php7.1-fpm-nginx

By saoque

•Updated over 7 years ago

Image
0

372

saoque/php7.1-fpm-nginx repository overview

FROM php:7.1-fpm

RUN apt-get update && apt-get install -y
nginx

RUN apt-get update && apt-get install -y cron

RUN apt-get install libpng-dev -y

#RUN docker-php-ext-install opcache RUN docker-php-ext-install pdo_mysql RUN docker-php-ext-install zip

#Install GD RUN apt-get install -y
libfreetype6-dev
libjpeg62-turbo-dev
libpng12-dev
&& docker-php-ext-configure gd
--enable-gd-native-ttf
--with-freetype-dir=/usr/include/freetype2
--with-png-dir=/usr/include
--with-jpeg-dir=/usr/include
&& docker-php-ext-install gd
&& docker-php-ext-enable gd

#Install Composer RUN apt-get install -y unzip
&& curl -sS https://getcomposer.org/installer⁠ | php
&& mv composer.phar /usr/local/bin/composer
&& chmod +x /usr/local/bin/composer

RUN apt-get install supervisor -y

EXPOSE 443 EXPOSE 80

Tag summary

Content type

Image

Digest

Size

261.7 MB

Last updated

over 7 years ago

docker pull saoque/php7.1-fpm-nginx