docker-laravel-alpine
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.
Packages
apk
Packages
git
bash
supervisor
nginx
(only for php-fpm images)python
pip
PHP Extensions
phpredis
pdo
pdo_mysql
pdo_pgsql
mysqli
opcache
redis
pcntl
gd
bcmath
posix
pip
Packages
awscli
s3cmd
Other
composer
wait-for-it
Updates
The general workflow is as such:
- Update the
Dockerfile.template
as necessary. - Run
update.sh
to update the PHP-type-specificDockerfile
s. - 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.sh
to build all images and push them up to docker hub. This will overwrite existing images there so be sure the images are backwards compatible.