From 83c5f6a413d1edb1ccabf0063f3dbe12d55405b4 Mon Sep 17 00:00:00 2001 From: Ankit Pokhrel Date: Sat, 17 Feb 2024 12:11:13 +0100 Subject: [PATCH] dev: Upgrade setup to use php8.3 --- docker/base/Dockerfile.php8 | 5 +++-- docker/base/bin/php-ext.sh | 4 ++-- 2 files changed, 5 insertions(+), 4 deletions(-) diff --git a/docker/base/Dockerfile.php8 b/docker/base/Dockerfile.php8 index 8a998e17..cb3bc573 100644 --- a/docker/base/Dockerfile.php8 +++ b/docker/base/Dockerfile.php8 @@ -1,4 +1,4 @@ -FROM php:8.0-fpm-alpine3.13 +FROM php:8.3-fpm-alpine3.19 LABEL maintainer="hello@ankit.pl,samundra@msn.com" \ description="This builds tus-php-base image" @@ -16,7 +16,8 @@ RUN apk update && apk add --no-cache \ nginx \ composer \ curl \ - ca-certificates + ca-certificates \ + linux-headers # Install required extensions. RUN docker-php-ext-install pcntl diff --git a/docker/base/bin/php-ext.sh b/docker/base/bin/php-ext.sh index 6089ac1c..2098c3b1 100755 --- a/docker/base/bin/php-ext.sh +++ b/docker/base/bin/php-ext.sh @@ -13,7 +13,7 @@ pre_build() { apcu() { cd /tmp - git clone --depth 1 --branch v5.1.19 https://github.com/krakjoe/apcu && cd apcu + git clone --depth 1 --branch v5.1.23 https://github.com/krakjoe/apcu && cd apcu phpize ./configure --with-php-config=/usr/local/bin/php-config @@ -30,7 +30,7 @@ xdebug() { branch="2.9.8" if [ "${PHP_MAJOR_VERSION}" = "8" ]; then - branch="3.0.3" + branch="3.3.0" fi git clone --depth 1 --branch ${branch} https://github.com/xdebug/xdebug && cd xdebug