Commit baf66b1f authored by deathstar's avatar deathstar

Change to PHP 7.2

parent 79aea9c9
Pipeline #71 canceled with stage
# Для начала указываем исходный образ, он будет использован как основа
FROM php:7.1-fpm
FROM php:7.2-fpm
# Необязательная строка с указанием автора образа
MAINTAINER PHPtoday.ru <info@phptoday.ru>
......@@ -19,15 +19,7 @@ RUN apt-get update && apt-get install -y --no-install-recommends apt-utils \
libzip-dev \
&& docker-php-ext-install -j$(nproc) mbstring mysqli pdo_mysql zip opcache \
&& docker-php-ext-configure gd --with-freetype-dir=/usr/include/ --with-jpeg-dir=/usr/include/ \
&& docker-php-ext-install -j$(nproc) gd \
&& git clone https://github.com/php-memcached-dev/php-memcached /usr/src/php/ext/memcached \
&& cd /usr/src/php/ext/memcached && git checkout -b php7 origin/php7 \
&& docker-php-ext-configure memcached \
&& docker-php-ext-install memcached \
&& git clone https://github.com/websupport-sk/pecl-memcache /usr/src/php/ext/memcache \
&& cd /usr/src/php/ext/memcache && git checkout -b php7 origin/php7 \
&& docker-php-ext-configure memcache \
&& docker-php-ext-install memcache
&& docker-php-ext-install -j$(nproc) gd
# Куда же без composer'а.
RUN curl -sS https://getcomposer.org/installer | php -- --install-dir=/usr/local/bin --filename=composer
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment