updated php to 7.4, updated grav to 1.7.14

This commit is contained in:
2021-05-12 10:34:29 +02:00
parent b52d1cc44b
commit 0dd3c18707
7 changed files with 35 additions and 11 deletions
+10 -8
View File
@@ -1,4 +1,4 @@
FROM php:7.3-fpm
FROM php:7.4-fpm
RUN apt-get update && apt-get install -y \
libfreetype6-dev \
@@ -6,19 +6,21 @@ RUN apt-get update && apt-get install -y \
libmcrypt-dev \
libpng-dev \
zip \
libzip-dev && \
# docker-php-ext-install -j$(nproc) iconv && \
docker-php-ext-configure gd --with-freetype-dir=/usr/include/ --with-jpeg-dir=/usr/include/ && \
libzip-dev
RUN docker-php-ext-configure gd && \
apt-get install -y imagemagick libmagickwand-dev && \
pecl install imagick && docker-php-ext-enable imagick && \
docker-php-ext-install -j$(nproc) gd && \
docker-php-ext-install zip && \
docker-php-ext-install opcache && \
docker-php-ext-install bcmath && \
apt-get install -y git vim && \
pecl install redis-4.3.0 && \
pecl install xdebug-2.7.0 && \
docker-php-ext-enable redis xdebug
apt-get install -y git vim
RUN pecl install redis-5.3.4 && docker-php-ext-enable redis
RUN pecl install xdebug-3.0.4 && \
docker-php-ext-enable xdebug
RUN export COMPOSER_HOME=/usr/local/composer && \
curl -sS https://getcomposer.org/installer \