Skip to content

Commit

Permalink
dev: Upgrade setup to use php8.3
Browse files Browse the repository at this point in the history
  • Loading branch information
ankitpokhrel committed Feb 17, 2024
1 parent 14bd960 commit 83c5f6a
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
5 changes: 3 additions & 2 deletions docker/base/Dockerfile.php8
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM php:8.0-fpm-alpine3.13
FROM php:8.3-fpm-alpine3.19

LABEL maintainer="[email protected],[email protected]" \
description="This builds tus-php-base image"
Expand All @@ -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
Expand Down
4 changes: 2 additions & 2 deletions docker/base/bin/php-ext.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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
Expand Down

0 comments on commit 83c5f6a

Please sign in to comment.