dunglas / symfony-docker

A Docker-based installer and runtime for Symfony. Install: download and `docker compose up`.
https://dunglas.dev/2021/12/symfonys-new-native-docker-support-symfony-world/
2.54k stars 754 forks source link

Cannot install some PHP extention #633

Closed rccc closed 4 months ago

rccc commented 4 months ago

Hello,

No way find a package for php8.3-mbstring or php8.3-gd:

apt install php8.3-gd give "Package 'php8.3-gd' has no installation candidat".

apt install php8.3-mbstring

Package 'php8.3-mbstring' has no installation candidate

It seems dunglas/frankenphp:1-php8.3 is based on debian 12 bookworm, it should not be a problem.

Using this image is not so easy ...

rccc

7-zete-7 commented 4 months ago

Hello @rccc!

To install additional extensions to this image enough to add required extension to the extensions list

 RUN set -eux; \
    install-php-extensions \
        @composer \
        apcu \
+       gd \
        intl \
        opcache \
        zip \
    ;

and rebuild the image.