Created
April 20, 2020 22:35
-
-
Save jonatasrenan/e9ac49c7883a38f389b28f6337b5429f to your computer and use it in GitHub Desktop.
Revisions
-
jonatasrenan renamed this gist
Apr 20, 2020 . 1 changed file with 0 additions and 0 deletions.There are no files selected for viewing
File renamed without changes. -
jonatasrenan created this gist
Apr 20, 2020 .There are no files selected for viewing
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 charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,47 @@ FROM php:7.3-fpm RUN apt-get update \ \ && apt-get install -y apt-utils \ && apt-get install -y libcurl3-dev \ && docker-php-ext-install curl \ \ && apt-get install -y \ libpng-dev \ libjpeg62-turbo-dev \ libfreetype6-dev \ && 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 \ \ && apt-get install -y libpq-dev \ && docker-php-ext-install pgsql \ \ && apt-get install -y libmcrypt-dev \ && pecl install mcrypt-1.0.3 \ && docker-php-ext-enable mcrypt \ \ && docker-php-ext-install mysqli \ \ && apt-get install -y --no-install-recommends libmagickwand-dev \ && pecl install imagick \ && docker-php-ext-enable imagick \ \ && docker-php-ext-install json \ \ && docker-php-ext-install gettext \ \ && apt-get install -y zlib1g-dev libzip-dev \ && docker-php-ext-configure zip \ --with-zlib-dir=/usr \ && docker-php-ext-install zip \ \ && rm -rf /var/lib/apt/lists/* \ \ && mkdir -p /var/log/fpm/ \ && mkdir -p /var/log/nginx/ \ && touch /var/log/nginx/php_error.log \ && chmod 777 /var/log/nginx/php_error.log