Last active
October 25, 2018 07:44
-
-
Save aonurdemir/2e74d363b7b30ac3c048ad1fb9fbc4e2 to your computer and use it in GitHub Desktop.
Docker ubuntu php
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:7.2-fpm | |
RUN apt-get update && apt-get install -y \ | |
libfreetype6-dev \ | |
libjpeg62-turbo-dev \ | |
libpng-dev \ | |
&& docker-php-ext-install -j$(nproc) iconv \ | |
&& 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 -j$(nproc) pdo pdo_mysql | |
&& docker-php-ext-install -j$(nproc) bcmath | |
RUN apt-get install -qy git curl libmcrypt-dev mysql-client | |
RUN locale-gen en_GB.UTF-8 && locale-gen tr_tR.UTF-8 && update-locale |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment