[PHP-FPM] Upgrade to PHP 8

master
andryyy 2021-08-08 16:05:59 +02:00
parent a40ed30e97
commit 6db004bc79
No known key found for this signature in database
GPG Key ID: 8EC34FF2794E25EF
1 changed files with 5 additions and 5 deletions

View File

@ -1,12 +1,12 @@
FROM php:7.4-fpm-alpine3.13 FROM php:8.0-fpm-alpine3.14
LABEL maintainer "Andre Peters <andre.peters@servercow.de>" LABEL maintainer "Andre Peters <andre.peters@servercow.de>"
ENV APCU_PECL 5.1.19 ENV APCU_PECL 5.1.20
ENV IMAGICK_PECL 3.4.4 ENV IMAGICK_PECL 3.5.1
# Mailparse is pulled from master branch # Mailparse is pulled from master branch
#ENV MAILPARSE_PECL 3.0.2 #ENV MAILPARSE_PECL 3.0.2
ENV MEMCACHED_PECL 3.1.5 ENV MEMCACHED_PECL 3.1.5
ENV REDIS_PECL 5.3.3 ENV REDIS_PECL 5.3.4
RUN apk add -U --no-cache autoconf \ RUN apk add -U --no-cache autoconf \
aspell-dev \ aspell-dev \
@ -61,7 +61,7 @@ RUN apk add -U --no-cache autoconf \
&& docker-php-ext-configure exif \ && docker-php-ext-configure exif \
&& docker-php-ext-configure gd --with-freetype=/usr/include/ \ && docker-php-ext-configure gd --with-freetype=/usr/include/ \
--with-jpeg=/usr/include/ \ --with-jpeg=/usr/include/ \
&& docker-php-ext-install -j 4 exif gd gettext intl ldap opcache pcntl pdo pdo_mysql pspell soap sockets xmlrpc zip bcmath gmp \ && docker-php-ext-install -j 4 exif gd gettext intl ldap opcache pcntl pdo pdo_mysql pspell soap sockets zip bcmath gmp \
&& docker-php-ext-configure imap --with-imap --with-imap-ssl \ && docker-php-ext-configure imap --with-imap --with-imap-ssl \
&& docker-php-ext-install -j 4 imap \ && docker-php-ext-install -j 4 imap \
&& curl --silent --show-error https://getcomposer.org/installer | php \ && curl --silent --show-error https://getcomposer.org/installer | php \