This is just a base Dockerfile used as the base for our CI and production images. It gives you Apache, PHP 7.x and a few commonly used libraries that PHP/Laravel apps use.
Eg:
// for php7.2 + composer
docker pull uogsoe/soe-php-apache:7.2
// for php7.2 + composer + pcov
docker pull uogsoe/soe-php-apache:7.2-ci
Just run the build.sh
script. It needs to have the buildx docker feature enabled if you don't already have it.
The script will by default build images for each PHP version in the VERSIONS
array defined in the script. It uses buildx to do multiple architectures for each PHP version :
- linux/amd64
- linux/arm/v7
There is a workflow in the .github/workflows/main.yml
which will rebuild these images and push them to docker hub on a schedule. Currently set to do a fresh build every Sunday.
MIT License