Closed iquito closed 1 year ago
The same happens with the PHP 8.1 slim-fpm image. It seems the base images are not updated (yet) and then installing an extension leads to an unintentional upgrade of the base packages, leading to the error.
Today the base images were updated and available with the new PHP version, which lead to the slim images building again (as installing the extensions does not lead to an unintentional upgrade of PHP anymore).
Yet I think it would be important that for new releases this build error would not occur - this time the image building failed for 2 days, ideally it would build successfully with the old PHP version until the image supports the new version no matter what extensions are added, especially as each month there is a new PHP version potentially leading to this error again.
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Please update it if any action still required.
This issue has been automatically closed because it has not had recent activity. Please, reopen if you need.
With the release of PHP 8.2.2 and using Docker 23.0.0 I cannot build the slim-fpm image anymore. This is the output when running
docker build - < Dockerfile.txt
with this very simple Dockerfile:The image seems to upgrade some 8.2.1 packages to 8.2.2 and fails on the already existing
www.conf
. I am not sure why this is happening now (never had this problem previously), and if this has something to do with the new Docker version or just the new PHP version, or both.