From 06c8b5ddfa3540b466b144503b150e30bf8afc15 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?JB=20Onofr=C3=A9?= Date: Fri, 5 Jul 2024 13:21:52 +0200 Subject: [PATCH] Update to PHP8 (#2999) --- share/docker/Dockerfile | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/share/docker/Dockerfile b/share/docker/Dockerfile index 30180b72ba0..47ea33c6c96 100644 --- a/share/docker/Dockerfile +++ b/share/docker/Dockerfile @@ -132,8 +132,8 @@ RUN curl -sSL https://deb.nodesource.com/setup_14.x \ && npm cache clean --force # Install PHP-snappy and PHP-zstd -ENV PHP7_VERSION=7.4 -RUN mkdir -p "/etc/php/${PHP7_VERSION}/cli/conf.d" +ENV PHP8_VERSION=8.1 +RUN mkdir -p "/etc/php/${PHP8_VERSION}/cli/conf.d" RUN mkdir tmp && cd tmp \ && git clone --recursive --depth=1 https://github.com/kjdev/php-ext-zstd.git \ && cd php-ext-zstd \ @@ -141,7 +141,7 @@ RUN mkdir tmp && cd tmp \ && ./configure \ && make \ && make install \ - && echo "extension=zstd.so" > "/etc/php/${PHP7_VERSION}/cli/conf.d/10-zstd.ini" \ + && echo "extension=zstd.so" > "/etc/php/${PHP8_VERSION}/cli/conf.d/10-zstd.ini" \ && cd .. && rm -rf php-ext-zstd \ && git clone --recursive --depth=1 https://github.com/kjdev/php-ext-snappy.git \ && cd php-ext-snappy \ @@ -149,7 +149,7 @@ RUN mkdir tmp && cd tmp \ && ./configure \ && make \ && make install \ - && echo "extension=snappy.so" > "/etc/php/${PHP7_VERSION}/cli/conf.d/10-snappy.ini" \ + && echo "extension=snappy.so" > "/etc/php/${PHP8_VERSION}/cli/conf.d/10-snappy.ini" \ && cd .. && rm -rf php-ext-snappy \ && php -m \ && apt-get -qqy clean