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 (docker-library/php#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 (postfixadmin/postfixadmin#812).
related:
Since the default tags of the
phpimages (likephp:8.3-apacheandphp:8.3-fpm) have moved to Debian Trixie (docker-library/php#1596), the Debian-basedpostfixadminimages have been failing to build. This is because thelibc-client2007e-devpackage is no longer available and its source package has been removed (because it is unmaintained in Debian).The solution that keeps the
imapextension is to switch theFROMlines to be more specific to stay on the older Debian release. This will work until the Bookworm-basedphpimages are no longer supported at the next Debian release, Forky (in a few years).php:8.3-apache->php:8.3-apache-bookwormphp:8.3-fpm->php:8.3-fpm-bookwormI think the upcoming 4.0 release would allow the move to Debian Trixie since it dropped php imap support (postfixadmin/postfixadmin#812).
related: