Skip to content

Universal PHP-FPM Docker image with almost everything you might need

License

Notifications You must be signed in to change notification settings

DSpeichert/php-bloated

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

20 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Docker image for PHP-FPM with too many useful extensions

docker build PHP 7.4 docker build PHP 8.0 docker build PHP 8.1 docker build PHP 8.2

Ideally, when creating a Docker image for your application, you'd custom-tailor the Dockerfile to include only the extensions you need. I found myself doing that a lot. It takes time and at a scale of many containers per host, makes it impossible to reuse the image, because it's not essentially shared among containers. It also takes almost half an hour to build such an image.

Universal PHP-FPM Docker image with almost everything you might need to run typical and more exotic PHP apps. It's commonly used by me for Laravel apps.

It's a great idea to use this image instead of: FROM php:8.2-fpm.

Use as: FROM ghcr.io/dspeichert/php-bloated/php-8.2:master.

More versions might be available in future.

Check out the amazing tool that makes it possible to build an image with so many different PHP extensions so easily.

About

Universal PHP-FPM Docker image with almost everything you might need

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages