Images for php application with needing extensions
You can use image from docker hub
https://hub.docker.com/repository/docker/ishaburov/php-fpm
Or copy dockerfile and build it making this command:
docker build -f ./PATH_TO_FILE/php:7.4.9-fpm.dockerfile .
Check docker images :
docker images
And run using IMAGE ID
docker run -it IMAGE ID sh
Docker for php-fpm application is open-sourced software licensed under the MIT license.