A docker image based on the official PHP alpine images with PHP extensions and tools installed to be ready to run laravel web servers or workers.
gitbashsupervisornginx(only for php-fpm images)pythonpip
phpredispdopdo_mysqlpdo_pgsqlmysqliopcacheredispcntlgdbcmathposix
awsclis3cmd
composerwait-for-it
The general workflow is as such:
- Update the
Dockerfile.templateas necessary. - Run
update.shto update the PHP-type-specificDockerfiles. - Build and test locally (e.g.
docker build -t carimus/laravel-alpine/test:php7.2-cli -f ./php7.2-cli/Dockerfile .) - Add and commit the changes
- Run
publish.shto build all images and push them up to docker hub. This will overwrite existing images there so be sure the images are backwards compatible.