Very bad ImageMagick resizing performance after upgrade from PHP 5.5 to Docker + PHP 7.4

I was able to work around the problem by using the php:alpine images instead.

The exact cause is not yet clear, see the following issue for more details: https://github.com/docker-library/php/issues/1100