DOI build failures (Trixie)
E: Unable to locate package libc-client2007e-dev
Since the default tags of the php images (like php:8.3-apache and php:8.3-fpm) have moved to Debian Trixie (https://github.com/docker-library/php/pull/1596), the Debian-based postfixadmin images have been failing to build. This is because the libc-client2007e-dev package is no longer available and its source package has been removed (because it is unmaintained in Debian).
The solution that keeps the imap extension is to switch the FROM lines to be more specific to stay on the older Debian release. This will work until the Bookworm-based php images are no longer supported at the next Debian release, Forky (in a few years).
-
php:8.3-apache->php:8.3-apache-bookworm -
php:8.3-fpm->php:8.3-fpm-bookworm
I think the upcoming 4.0 release would allow the move to Debian Trixie since it dropped php imap support (https://github.com/postfixadmin/postfixadmin/issues/812).
related:
- https://github.com/docker-library/php/issues/1608
Friendly ping? 😇