Update Dockerfile
This commit is contained in:
+14
-1
@@ -1,2 +1,15 @@
|
|||||||
FROM php:7.1-fpm
|
FROM php:7.1-fpm
|
||||||
RUN docker-php-ext-install mysqli
|
|
||||||
|
# MySQL
|
||||||
|
RUN docker-php-ext-install gd mysqli
|
||||||
|
|
||||||
|
RUN apt-get update
|
||||||
|
|
||||||
|
# GD
|
||||||
|
RUN apt-get install -y libfreetype6-dev libjpeg62-turbo-dev libpng12-dev
|
||||||
|
RUN docker-php-ext-configure gd --with-freetype-dir=/usr/include/ --with-jpeg-dir=/usr/include/
|
||||||
|
RUN docker-php-ext-install -j$(nproc) gd
|
||||||
|
|
||||||
|
# Mcrypt
|
||||||
|
RUN apt-get install -y libmcrypt-dev
|
||||||
|
RUN docker-php-ext-install -j$(nproc) mcrypt
|
||||||
|
|||||||
Reference in New Issue
Block a user