Skip to content

Commit 702f5d5

Browse files
authored
Updated to php
1 parent 255fabc commit 702f5d5

1 file changed

Lines changed: 4 additions & 3 deletions

File tree

docker/php/Dockerfile

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,11 @@
1-
FROM php:7.0-fpm
1+
FROM php:7.2-fpm
22
RUN apt-get update && apt-get install -y \
33
libfreetype6-dev \
44
libjpeg62-turbo-dev \
5-
libpng12-dev \
5+
libpng-dev \
6+
&& docker-php-ext-install -j$(nproc) iconv \
67
&& docker-php-ext-configure gd --with-freetype-dir=/usr/include/ --with-jpeg-dir=/usr/include/ \
7-
&& docker-php-ext-install -j$(nproc) gd \
8+
&& docker-php-ext-install -j$(nproc) gd
89
&& docker-php-ext-install -j$(nproc) pdo pdo_mysql
910
RUN curl -sS https://getcomposer.org/installer | php -- --install-dir=/usr/local/bin --filename=composer
1011

0 commit comments

Comments
 (0)