Skip to content

Conversation

@rvanlaak
Copy link

@rvanlaak rvanlaak commented Dec 4, 2025

And take a leap in the future 🚀 It's a lot faster as through install-php-extensions.

XDebug 3.5 with PHP 8.5 support just was released, and mentions using PIE as a recommended method: https://github.com/xdebug/xdebug/releases/tag/3.5.0

Other extension I'm successfully installing for dev / production, by defining them in composer.json currently is ext-zend-opcache.

And take a leap in the future
Copy link
Contributor

@7-zete-7 7-zete-7 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks like a good step forward for me!

Comment on lines +25 to +26
COPY --from=ghcr.io/php/pie:bin /pie /usr/bin/pie
COPY --from=composer /usr/bin/composer /usr/bin/composer
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
COPY --from=ghcr.io/php/pie:bin /pie /usr/bin/pie
COPY --from=composer /usr/bin/composer /usr/bin/composer
COPY --link --from=ghcr.io/php/pie:bin /pie /usr/bin/pie
COPY --link --from=composer /usr/bin/composer /usr/bin/composer

&& rm -rf /var/lib/apt/lists/*

COPY --from=ghcr.io/php/pie:bin /pie /usr/bin/pie
COPY --from=composer /usr/bin/composer /usr/bin/composer
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why not composer/composer:latest-bin? See https://getcomposer.org/doc/00-intro.md#docker-image

@7-zete-7
Copy link
Contributor

7-zete-7 commented Dec 4, 2025

Hi @rvanlaak!

Do you think it makes sense to add PIE to the FrankenPHP image? install-php-extensions is currently pre-installed there. I guess it would be convenient also to have PIE pre-installed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants