Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

dev: Upgrade setup to use php8.3 #436

Merged
merged 1 commit into from
Feb 17, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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="hello@ankit.pl,samundra@msn.com" \
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