From d77c3b43c6f93388e7318d92211f1d42696a7670 Mon Sep 17 00:00:00 2001 From: Uladzimir Tsykun Date: Mon, 1 May 2023 19:01:30 +0200 Subject: [PATCH] Update php version for docker --- Dockerfile | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/Dockerfile b/Dockerfile index 0072c451..7275c376 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,4 +1,4 @@ -FROM php:8.1-fpm-alpine +FROM php:8.2-fpm-alpine RUN apk --no-cache add nginx supervisor curl subversion mercurial \ git bash openssh-client zip unzip redis shadow && \ @@ -11,6 +11,7 @@ RUN set -eux; \ postgresql-dev \ icu-dev \ coreutils \ + linux-headers \ libxml2-dev openldap-dev \ bzip2-dev libzip-dev \ libxslt-dev \ @@ -21,9 +22,9 @@ RUN set -eux; \ CPPFLAGS="$PHP_CPPFLAGS" \ LDFLAGS="$PHP_LDFLAGS"; \ \ - pecl install -o -f redis apcu; \ - docker-php-ext-enable redis apcu; \ - docker-php-ext-install ldap xsl zip sockets pdo pdo_pgsql pdo_mysql intl sysvsem opcache \ + pecl install -o -f redis; \ + docker-php-ext-enable redis; \ + docker-php-ext-install sockets ldap xsl zip pdo pdo_pgsql pdo_mysql intl sysvsem opcache \ bz2 mbstring pcntl; \ runDeps="$( \ scanelf --needed --nobanner --format '%n#p' --recursive /usr/local \